@extends('admin.layout.app') @section('more-head') @endsection @section('main-content')

OPERATIONS MANAGEMENT SYSTEM

FACTORY EVACUATION REPORT ({{ App\Model\consignee::find($_SESSION['consignee'])->name }})

{{--
--}}
@foreach ($factory_evacuations as $factory_evacuation) @if ($factory_evacuation->tolling_consignee_id == null) @else @endif @if ($factory_evacuation->factory_consignee_id == null) @else @endif @if ($factory_evacuation->artisanal_id == null) @else @endif @if ($factory_evacuation->artisanal_id == null) @else @endif @if ($factory_evacuation->port_of_exit == null) @else @endif @if ($factory_evacuation->destination == null) @else @endif @endforeach
No. Date of Entry Date Type of Ownership Factory(Tolling) Type of Shipment Factory Artisanal Others Type of Product Quantity (Tonnes) Returned Tonnage Port of Loading Destination Port
{{ $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) }}N/A{{ strtoupper(optional(App\Model\consignee::find($factory_evacuation->tolling_consignee_id))->name) }}{{ strtoupper($factory_evacuation->type_of_shipment) }}N/A{{ strtoupper(optional(App\Model\consignee::find($factory_evacuation->factory_consignee_id))->name) }}N/A{{ strtoupper(optional($factory_evacuation->artisanal)->name) }}N/A{{ strtoupper($factory_evacuation->others) }}{{ $factory_evacuation->type_of_product->type_of_product }} {{ $factory_evacuation->quantity }} {{ optional($factory_evacuation->return_factory_shipments->first())->quantity_returned }}N/A{{ $factory_evacuation->port_of_exit }}N/A{{ $factory_evacuation->destination }}
Showing {{ $factory_evacuations->firstItem() }} to {{ $factory_evacuations->lastItem() }} of total {{ $factory_evacuations->total() }} entries {{ $factory_evacuations->links() }}
@endsection @section('more-scripts') @endsection