@extends('backend.partials.master') @section('title') {{ ___('admin.visa_reports_a99569') }} @endsection @section('maincontent') @include('backend.reports._filterbar') @php $laDonut = ['labels' => $byStatus->pluck('status')->all(), 'series' => $byStatus->pluck('total')->map(fn($v) => (int) $v)->all()]; $laTrend = ['type' => 'bar', 'labels' => $byCountry->pluck('country')->all(), 'series' => [['name' => 'Applications', 'data' => $byCountry->pluck('total')->map(fn($v) => (int) $v)->all()]]]; @endphp
{{ ___('admin.applications_76c74b') }}

{{ number_format($total) }}

{{ ___('admin.approved_41b81e') }}

{{ number_format($approved) }}

{{ ___('admin.processing_e63451') }}

{{ number_format($processing) }}

{{ ___('admin.rejected_27eeb7') }}

{{ number_format($rejected) }}

{{ ___('admin.by_status_555c76') }}

@foreach($byStatus as $s) {{ admin_label($s->status) }} {{ number_format($s->total) }} @endforeach

{{ ___('admin.by_country_d5b8ec') }}

@foreach($byCountry as $c) {{ $c->country }}{{ number_format($c->total) }} @endforeach

{{ ___('admin.by_visa_type_f1a986') }}

@foreach($byType as $t) {{ $t->visa_type }}{{ number_format($t->total) }} @endforeach
@endsection