Sl. No. |
Agency Name |
Contact Details |
Contract Period |
Work Order File |
Status |
Actions |
@foreach ($agencies as $key => $val)
{{ $loop->iteration + ($agencies->currentPage() - 1) * $agencies->perPage() }}
|
{{ $val->name }} |
{{ $val->contact_name ?? 'N/A' }}
{{ $val->contact_number ?? 'N/A' }}
|
{{ $val->contract_start_date ? date('d M Y', strtotime($val->contract_start_date)) : 'N/A' }}
to
{{ $val->contract_end_date ? date('d M Y', strtotime($val->contract_end_date)) : 'N/A' }}
|
|
{{ $val->status ? 'Active' : 'Inactive' }}
|
{{-- @can('edit_agency') --}}
{{-- @endcan --}}
|
@endforeach
@if ($agencies->isEmpty())
No records found. |
@endif
{{ $agencies->appends(request()->query())->links('pagination::bootstrap-5') }}