@extends('layouts.admin') @section('title', 'Visa Submissions') @section('content')
Website Visa Submissions
@if ($canAssign)
@endif
@foreach ($items as $item) @endforeach
Reference Applicant Contact Country Visa Type Files Customer Assigned To Submitted Status Action
{{ $item->reference_no }} {{ $item->full_name }} {{ $item->email ?: '-' }}
{{ $item->phone }}
{{ $item->countryRef?->name ?? '-' }} {{ $item->visaSetup?->visa_type ?? '-' }} {{ $item->documents_count }} @if ($item->customer) customer) }}'>{{ $item->customer->customer_code }} @else - @endif @if ($item->assignee) {{ $item->assignee->name }} @if ($item->due_date)
Due {{ $item->due_date->format('d M Y') }}
@endif @else Unassigned @endif
{{ $item->created_at?->format('d M Y H:i') }} @php($badge = ['new' => 'primary', 'under_review' => 'warning', 'approved' => 'success', 'rejected' => 'danger', 'converted' => 'info'][$item->status] ?? 'secondary') {{ $statuses[$item->status] ?? $item->status }} @if ($item->payment_status !== 'not_required') {{ $item->payment_status === 'paid' ? 'Fee paid' : 'Fee due' }} @endif Review
@endsection @push('scripts') @endpush