{{----}} {{----}}

Document of {{ $driverName->first_name . " ".$driverName->last_name }}

@if(sizeof($driverDocs) > 0)
@foreach($driverDocs as $driver_docs)
@if($driver_docs->key == "Visa Copy") @if($driverName->is_australian_citizen == 1) Australian Citizen @else Visa Copy @endif @else {{ $driver_docs->key }} @endif
@if ($driver_docs->status == 0) Pending @elseif ($driver_docs->status == 1) Approved @elseif ($driver_docs->status == 2) Decline @endif


@if($driver_docs->issue_date == "" && $driver_docs->status == 1)

@else
@if ($driver_docs->issue_date != "")
Issue Date
{{ \Carbon\Carbon::parse($driver_docs->issue_date)->format('d-m-Y') }}
@endif @if (($driver_docs->exp_date != ""))
Expiry Date
{{ \Carbon\Carbon::parse($driver_docs->exp_date)->format('d-m-Y') }}
@endif
@if ($driver_docs->status == 0)
@endif @if ($driver_docs->status == 2) Reason : {{ $driver_docs->decline_reason }} @endif @endif
Uploaded On
{{ \Carbon\Carbon::parse($driver_docs->created_at)->format('d-m-Y') }}
@endforeach
@else

No document is uploaded yet!

@endif