Greetings {{$next_approver->salutation}} {{ucfirst(strtolower($next_approver->employee_name))}},

{{$creator->salutation}} {{ucfirst(strtolower($creator->employee_name))}} {{ucfirst(strtolower($creator->last_name))}} has sent a request that requires your attention.
Please login, review and approve/reject request no {{$requisition_id}}.

FUEL REQUISITION

REQ#. : {{$requisition_id}}
Created By. : {{$requisition->initiator}}
Date : {{\Carbon\Carbon::parse($requisition->date)->toFormattedDateString()}}
Supplier : @foreach($vendors as $vendor) {{$requisition->requisitionItemSource[0]->type == 'VENDOR' && $requisition->requisitionItemSource[0]->payee == $vendor->id ? $vendor->name : ''}} @endforeach @foreach($tanks as $tank) {{$requisition->requisitionItemSource[0]->type == 'STORE' && $requisition->requisitionItemSource[0]->payee == $tank->id ? $tank->location : ''}} @endforeach {{$requisition->requisitionItemSource[0]->type == 'CASH' ? 'CASH' : ''}}
REQUESTED ITEMS
@if($last_requisition_approval) {{--*/ $j =1 /*--}} @foreach($last_requisition_approval->requisitionApprovalItems as $index=>$requisition_approval_item) @if($requisition_approval_item->requisitionApprovalItemItem) @endif {{--*/ $j++ /*--}} @endforeach @else {{--*/ $total_requested = 0 /*--}} {{--*/ $j=1 /*--}} @foreach($requisition->requisitionItems as $index=>$requisition_item) @if($requisition_item->requisitionItemItem) @endif @endforeach @endif
No. Truck Driver Client Destination Diesel (Litre) Currency Rate/Litre Amount
{{++$index}} {{$requisition_approval_item->requisitionItem->loadingOrderItemRequisitionItem->loadingOrderItem->loadingOrderVehicle->vehicle->registration_number}} {{$requisition_approval_item->requisitionItem->loadingOrderItemRequisitionItem->loadingOrderItem->loadingOrderVehicle->driver->employee_name}} {{$requisition_approval_item->requisitionItem->loadingOrderItemRequisitionItem->loadingOrderItem->loadingOrderVehicle->driver->last_name}} {{$requisition_approval_item->requisitionItem->loadingOrderItemRequisitionItem->loadingOrderItem->clientLoadingOrder->client->name}} {{$requisition_approval_item->requisitionItem->loadingOrderItemRequisitionItem->loadingOrderItem->loadingOrderDestination->city->name}} {{$requisition_approval_item->requisitionApprovalItemItem->quantity}} {{$requisition_approval_item->currency}} {{number_format($requisition_approval_item->requisitionApprovalItemItem->rate, 2)}} {{number_format($requisition_approval_item->requisitionApprovalItemItem->quantity*$requisition_approval_item->requisitionApprovalItemItem->rate, 2)}}
{{++$index}} {{$requisition_item->loadingOrderItemRequisitionItem->loadingOrderItem->loadingOrderVehicle->vehicle->registration_number}} {{$requisition_item->loadingOrderItemRequisitionItem->loadingOrderItem->loadingOrderVehicle->driver->employee_name}} {{$requisition_item->loadingOrderItemRequisitionItem->loadingOrderItem->loadingOrderVehicle->driver->last_name}} {{$requisition_item->loadingOrderItemRequisitionItem->loadingOrderItem->clientLoadingOrder->client->name}} {{$requisition_item->loadingOrderItemRequisitionItem->loadingOrderItem->loadingOrderDestination->city->name}} {{$requisition_item->requisitionItemItem->quantity}} {{$requisition_item->currency}} {{number_format($requisition_item->requisitionItemItem->rate, 2)}} {{number_format($requisition_item->requisitionItemItem->quantity*$requisition_item->requisitionItemItem->rate, 2)}}