@extends('admin.layouts.main') @section('title','Manajemen Pendaftaran Peserta') @push('styles') @endpush @section('content') {{-- Stats --}}
{{ $stats['total'] }}
Total
@foreach($statuses as $key => $s)
{{ $stats[$key] ?? 0 }}
{{ $s['label'] }}
@endforeach
{{-- Per Program Overview --}}
Rekap per Program
@foreach($programs as $prog) @php $total = \App\Models\Registration::where('training_program_id', $prog->id)->count(); @endphp @endforeach
{{-- Filter --}}
{{-- Table --}}
@csrf
Daftar Pendaftar ({{ $registrations->total() }})
@forelse($registrations as $reg) @php $si = $reg->status_info; @endphp @empty @endforelse
Pendaftar Program Pendidikan Status Tgl Daftar Aksi
{{ $reg->full_name }}
{{ $reg->email }}
{{ $reg->phone }}
{{ $reg->registration_number }}
{{ Str::limit($reg->program->title ?? '-', 28) }} {{ $reg->education_level ?? '-' }} {{ $si['label'] }} {{ $reg->created_at->format('d M Y') }}
@csrf @method('DELETE')
Belum ada pendaftar
@if($registrations->hasPages())
{{ $registrations->links() }}
@endif
@endsection @push('scripts') @endpush