@extends('backend.partials.master') @section('title') {{ ___('label.customer') }} {{ ___('label.passport') }} @endsection @section('maincontent') @if(hasPermission('customer_create')) {{ ___('label.add') }} @endif @if(!empty($analytics)) @endif @foreach($items as $p) @php $c = $p->status === 'Valid' ? 'success' : ($p->status === 'Expiring' ? 'warning' : 'danger'); @endphp {{ $p->holder_name }} {{ $p->passport_no }} {{ $p->customer->name ?? '' }} {{ $p->nationality }} {{ $p->issue_date ? $p->issue_date->format('Y-m-d') : '' }} {{ $p->expiry_date ? $p->expiry_date->format('Y-m-d') : '' }} {{ admin_label($p->status) }}
@if(hasPermission('customer_update')) @endif @if(hasPermission('customer_delete')) @endif
@endforeach
@endsection @push('scripts') @endpush