{{ $count++ }}. |
{{ $factory_evacuation->created_at ? Carbon\Carbon::parse($factory_evacuation->created_at)->format('j M Y g:i a') : null }}
|
{{ $factory_evacuation->date ? Carbon\Carbon::parse($factory_evacuation->date)->format('Y-m-d') : null }}
|
{{ strtoupper($factory_evacuation->mode_of_evacuation) }} |
@if ($factory_evacuation->tolling_consignee_id == null)
N/A |
@else
{{ strtoupper(optional(App\Model\consignee::find($factory_evacuation->tolling_consignee_id))->name) }} |
@endif
{{ strtoupper($factory_evacuation->type_of_shipment) }} |
@if ($factory_evacuation->factory_consignee_id == null)
N/A |
@else
{{ strtoupper(optional(App\Model\consignee::find($factory_evacuation->factory_consignee_id))->name) }} |
@endif
@if ($factory_evacuation->artisanal_id == null)
N/A |
@else
{{ strtoupper(optional($factory_evacuation->artisanal)->name) }} |
@endif
@if ($factory_evacuation->artisanal_id == null)
N/A |
@else
{{ strtoupper($factory_evacuation->others) }} |
@endif
{{ $factory_evacuation->type_of_product->type_of_product }} |
{{ $factory_evacuation->quantity }} |
{{ optional($factory_evacuation->return_factory_shipments->first())->quantity_returned }} |
@if ($factory_evacuation->port_of_exit == null)
N/A |
@else
{{ $factory_evacuation->port_of_exit }} |
@endif
@if ($factory_evacuation->destination == null)
N/A |
@else
{{ $factory_evacuation->destination }} |
@endif
@endforeach