No. |
Date of Entry |
Date |
Receiving Factory |
@if ($_SESSION['tolling'] == 'Toll Raw Beans')
Cocoa Type |
@else
Product Type |
@endif
Tonnage Sent |
Factory Warehouse |
@foreach ($tollings as $tolling)
{{ $count++ }}. |
{{ $tolling->created_at ? Carbon\Carbon::parse($tolling->created_at)->format('j M Y g:i a') : null }} |
{{ $tolling->date ? Carbon\Carbon::parse($tolling->date)->format('j M Y') : null }} |
{{ App\Model\consignee::find($tolling->tollee_id)->name }} |
@if ($_SESSION['tolling'] == 'Toll Raw Beans')
{{ ltrim($tolling->crop->name, 'Ghana') }} |
@else
{{ $tolling->type_of_product->type_of_product }} |
@endif
{{ $tolling->tonnage }} |
{{ strtoupper(optional(App\Model\factory_warehouse::find($tolling->toller_warehouse_id))->name) }} |
@endforeach
Showing {{ $tollings->firstItem() }} to {{ $tollings->lastItem() }}
of total {{ $tollings->total() }} entries
{{ $tollings->links() }}