{{ $document->expected_date?->format('d M Y')?:'-' }}
Expiry
{{ $document->expiry_date?->format('d M Y')?:'-' }}
External Reference
{{ $document->external_reference?:'-' }}
@include('business_documents.items')
@foreach(['payment_terms'=>'Terms of Payment','freight'=>'Freight On Board','delivery_method'=>'Delivery Method','shipping_to'=>'Ship To'] as $field=>$label)
@if(!empty($document->details[$field]))
{{ $label }}: {{ $document->details[$field] }}
@endif
@endforeach
@if($document->note)
{{ $document->note }}
@endif
@foreach($document->approvals->where('status','approved') as $approval)
{{ $approval->name }}: {{ $approval->reviewer?->name }} | {{ $approval->reviewed_at?->format('d M Y H:i') }}