@if ($date_from !== '' && $date_to !== '') Showing applications from {{ \Illuminate\Support\Carbon::parse($date_from)->format('d M Y') }} to {{ \Illuminate\Support\Carbon::parse($date_to)->format('d M Y') }}. @elseif ($date_from !== '') Showing applications on or after {{ \Illuminate\Support\Carbon::parse($date_from)->format('d M Y') }}. @elseif ($date_to !== '') Showing applications on or before {{ \Illuminate\Support\Carbon::parse($date_to)->format('d M Y') }}. @else Pick a start and end date — filter applies live; export uses the same range. @endif
| Application ID | Applicant Name | Visa Type | Entry Type | Passport No. | Travel agency | Status | Applied On | Action |
|---|---|---|---|---|---|---|---|---|
| {{ ApplicationsTable::displayCode($app) }} | {{ $app->full_name }} | {{ $app->visa_type ?: '—' }} | {{ VisaEntryType::labelFor($app->entry_type) }} | {{ $app->passport_number ?: '—' }} |
@if ($app->agent)
@php($agencyLabel = $app->agent->agency_name ?: $app->agent->name)
@if ($app->agent->profile_photo_path)
@else
—
@endif
|
|
{{ optional($app->created_at)->format('M d, Y') }} | |
| No applications found. | ||||||||
@if ($this->applications->total()) Showing {{ $this->applications->firstItem() }} to {{ $this->applications->lastItem() }} of {{ $this->applications->total() }} applications @else Showing 0 applications @endif