No. |
@if ($_SESSION['consignee'] == 'all')
Receiving Factory |
@endif
Date of Entry |
Date |
Sending Factory |
Tonnage Received |
@if ($_SESSION['tolling'] == 'Toll Raw Beans')
Cocoa Type |
@else
Product Type |
@endif
Factory Warehouse |
@foreach ($tollings as $tolling)
{{ $count++ }}. |
@if ($_SESSION['consignee'] == 'all')
{{ strtoupper(App\Model\consignee::find($tolling->tollee_id)->name) }} |
@endif
{{ $tolling->updated_at ? Carbon\Carbon::parse($tolling->updated_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->toller_id)->name }} |
{{ $tolling->confirm_tonnage }} |
@if ($_SESSION['tolling'] == 'Toll Raw Beans')
{{ ltrim($tolling->crop->name, 'Ghana') }} |
@else
{{ $tolling->type_of_product->type_of_product }} |
@endif
{{ strtoupper(optional(App\Model\factory_warehouse::find($tolling->tollee_warehouse_id))->name) }}
|
@endforeach
{!! $tollings->render() !!}