@extends('admin.layouts.main') @section('title','Registrasi TKI Luar Negeri') @section('content') {{-- Stats --}}
{{ $stats['total'] }}
Total
@foreach($statuses as $key => $s)
{{ $stats[$key] ?? 0 }}
{{ $s['label'] }}
@endforeach
{{-- Country breakdown --}}
Per Negara Tujuan
@foreach($countries as $cname => $cdata) @php $cnt = $byCountry[$cname] ?? 0; $isCurr = request('country') == $cname; $bgStyle = $isCurr ? '#2563eb' : 'var(--c-50)'; $bdrStyle = $isCurr ? '#2563eb' : 'var(--c-200)'; $txtColor = $isCurr ? '#fff' : 'var(--c-700)'; $badgeBg = $isCurr ? 'rgba(255,255,255,.2)' : '#eff6ff'; $badgeTxt = $isCurr ? '#fff' : '#2563eb'; @endphp {{ $cdata['flag'] }} {{ $cname }} {{ $cnt }} @endforeach @if(request('country')) Semua @endif
{{-- Filters --}}
@if(request('country'))@endif
{{-- Table --}}
@csrf
Data Pendaftar ({{ $applications->total() }})
@forelse($applications as $app) @php $si = $app->status_info; @endphp @empty @endforelse
Pendaftar Fisik Negara Tujuan Pendidikan Status Tgl Daftar Aksi
{{ $app->full_name }}
{{ $app->whatsapp }}
{{ $app->application_number }}
{{ $app->gender }}
@if($app->height_cm) {{ $app->height_cm }} cm @endif @if($app->weight_kg) · {{ $app->weight_kg }} kg @endif
{{ $app->target_country }}
@if($app->target_position)
{{ $app->target_position }}
@endif
{{ $app->education_level }} {{ $si['label'] }} {{ $app->created_at->format('d M Y') }}
@csrf @method('DELETE')
Belum ada registrasi TKI
@if($applications->hasPages())
{{ $applications->links() }}
@endif
@endsection @push('scripts') @endpush