| # |
{{ __('admin.id_code') }} |
{{ __('admin.letter_no') }} |
{{ __('admin.title') }} |
{{ __('admin.sender') }} |
{{ __('admin.destination') }} |
{{ __('admin.created_at') }} |
{{ __('admin.actions') }} |
@foreach ($sendRecieved as $doc)
| {{ $loop->iteration + ($sendRecieved->currentPage() - 1) * $sendRecieved->perPage() }}
|
{{$doc->id}} |
{{ $doc->letter_number ?? '-' }} |
{{ $doc->document_title ?? '-' }} |
{{ $doc->from_desk->name ?? ($doc->destination->name_ps ?? 'N/A') }} |
{{ $doc->to_desk->name ?? 'Unknown' }} |
{{ $doc->created_at->format('Y-m-d') }} |
{{ __('admin.view') }}
|
@endforeach
{{-- Laravel Pagination --}}
{{ $sendRecieved->withQueryString()->links('pagination::bootstrap-4') }}