Laporan Pendaftaran
@if(session('success'))
{{ session('success') }}
@endif
@if(session('error'))
{{ session('error') }}
@endif
@if(session('warning'))
{{ session('warning') }}
@endif
@if((request('report_type') == 'online_registration' || request('report_type') == '') && $registrations)
@if($registrations->total() == 0)
Tidak ada data untuk ditampilkan
@elseif(request('per_page') === 'all')
Menampilkan semua {{ $registrations->total() }} data
@else
Menampilkan {{ $registrations->count() }} dari {{ $registrations->total() }} data ({{ request('per_page', 25) }} per halaman)
@endif
@if(request('search'))
Hasil pencarian untuk: "{{ request('search') }}"
@endif
@elseif($transactions)
@if($transactions->total() == 0)
Tidak ada data untuk ditampilkan
@elseif(request('per_page') === 'all')
Menampilkan semua {{ $transactions->total() }} data
@else
Menampilkan {{ $transactions->count() }} dari {{ $transactions->total() }} data ({{ request('per_page', 25) }} per halaman)
@endif
@if(request('search'))
Hasil pencarian untuk: "{{ request('search') }}"
@endif
@endif
@if(request('report_type') == 'online_registration' || request('report_type') == '')
No
Kode Booking
Nama
NIK
No. Telp
Email
Alamat
Topik Aduan
Status
Pendamping
Tanggal
Jam
Aksi
@forelse($registrations as $registration)
{{ $loop->iteration }}
{{ $registration->booking_code }}
{{ $registration->name }}
{{ $registration->nik }}
{{ $registration->phone }}
{{ $registration->email ?: '-' }}
{{ $registration->address ?: '-' }}
{{ $registration->topic }}
@if($registration->priority)
Kelompok Rentan/Difabel
@else
Reguler
@endif
{{ $registration->pendamping ?: '-' }}
{{ \Carbon\Carbon::parse($registration->visit_date)->format('d/m/Y') }}
{{ $registration->visit_time }}
@if($registration->ktp_image)
@endif
@empty
Tidak ada data
@endforelse
@elseif(request('report_type') == 'all_queue' || request('report_type') == 'online_queue' || request('report_type') == 'offline_queue')
No
No. Antrian
Kode Booking
Nama
NIK
No. KK
No. Telp
Topik Aduan
Status
Tipe Registrasi
Pendamping
Waktu Kedatangan
Aksi
@forelse($transactions as $trx)
{{ $loop->iteration }}
{{ $trx->nomorantrian }}
{{ $trx->booking_code != '-' ? $trx->booking_code : '-' }}
{{ $trx->name }}
{{ $trx->nik }}
{{ $trx->no_kk ?: '-' }}
{{ $trx->phone }}
{{ $trx->topic }}
@if($trx->priority)
Kelompok Rentan/Difabel
@else
Reguler
@endif
@if($trx->id_online)
Online
@else
Offline
@endif
{{ $trx->pendamping ?: '-' }}
{{ \Carbon\Carbon::parse($trx->waktudatang)->format('d/m/Y H:i:s') }}
@if($trx->id_online && $trx->booking_code && $trx->booking_code != '-')
@php
$registration = \App\Models\Registration::where('booking_code', $trx->booking_code)->first();
@endphp
@if($registration)
@endif
@endif
@if($trx->ktp_image)
@endif
@if(!$trx->ktp_image && (!$trx->id_online || !$trx->booking_code || $trx->booking_code == '-'))
-
@endif
@empty
Tidak ada data
@endforelse
@endif
@if(request('per_page', 25) !== 'all')
@if(request('report_type') == 'online_registration' || request('report_type') == '')
@if($registrations && $registrations->hasPages())
{{ $registrations->appends(request()->query())->links('pagination::bootstrap-5') }}
@endif
@else
@if($transactions && $transactions->hasPages())
{{ $transactions->appends(request()->query())->links('pagination::bootstrap-5') }}
@endif
@endif
@endif