Gatepass No:
{{ $gatepass->gatepass_no }}
Date:
{{ $gatepass->created_at->format('d M Y, h:i A') }}
Requestion No:
{{ $gatepass->indentRequisition->request_no }}
Status:
{{ ucfirst($gatepass->status_name) }}
Health Center:
{{ $gatepass->healthPost?->health_post_name ?? '-' }}
Requested By:
{{ $gatepass->indentRequisition?->user?->name ?? '-' }}
Approved By:
{{ $gatepass->statusBy?->name ?? '-' }}
Packed By:
{{ $gatepass->packedBy?->name ?? '-' }}
Dispatched By:
{{ $gatepass->dispatchedBy?->name ?? '-' }}
Received By:
{{ $gatepass->received_by ?? '-' }}
@if ($gatepass->receiver_designation)
({{ $gatepass->receiver_designation }})
@endif
Receiver Mobile:
{{ $gatepass->receiver_mobile ?? '-' }}
{{-- Example: show items if you have a relation --}}
@if (isset($gatepass->items) && $gatepass->items->count())
Items
@endif