MILEAGE REQUISITION
CREATED BY. : {{$requisition->employee_requester}} SR NO. :{{$requisition->id}}
DATE :{{\Carbon\Carbon::parse($requisition->date)->toDayDateTimeString()}} DUE DATE :{{\Carbon\Carbon::parse($requisition->required_date)->toFormattedDateString()}}
DESCRIPTION:{{$requisition->request_for}}
{{--*/ $total_bonus_payable = 0 /*--}} {{--*/ $overall_driver_payable = 0 /*--}} @foreach($cash_requisition_item_descriptions as $index=>$item_description) @endforeach
S/N TRUCK {{--& Trailer--}} DRIVER NAME TONNAGE DESTINATION MILEAGE BONUS SUB TOTAL
{{++$index}} {{$item_description->route_assignment->vehicle}} {{--/ {{$item_description->route_assignment->trailer}}--}} {{$item_description->route_assignment->driver_names}} {{number_format($item_description->route_assignment->tonnage,2)}} {{$item_description->route_assignment->destination->name}} {{number_format($item_description->getAmount(5))}} {{number_format($item_description->getAmount(27))}} {{number_format($item_description->getAmount(5)+$item_description->getAmount(27))}} {{--*/ $total_driver_payable += $item_description->getAmount(5) /*--}} {{--*/ $total_bonus_payable += $item_description->getAmount(27) /*--}} {{--*/ $overall_driver_payable += $item_description->getAmount(5)+$item_description->getAmount(27) /*--}}
TOTAL AMOUNT {{number_format($total_driver_payable)}} {{number_format($total_bonus_payable)}} {{number_format($overall_driver_payable)}}
Amount in Words: {{\App\Logistics\Facades\Logistics::numberToWord($overall_driver_payable)}} @if(isset($total_amount_USD)) @if($total_amount_USD>0) ,AND {{\App\Logistics\Facades\Logistics::numberToWord($total_amount_USD,'USD')}} @endif @endif
@if(sizeof($requisition->requisitionApprovals) > 0) @foreach($requisition->requisitionApprovals as $requisition_approval) @endforeach @endif {{----}} {{----}} {{----}} {{----}}
Prepared By: {{$requisition->employee_requester}} Date: {{\Carbon\Carbon::parse($requisition->date)->toDayDateTimeString()}}
{{$requisition_approval->approval_action}} By: {{$requisition_approval->employee_approve}}
(as {{$requisition_approval->approve_as}})
Date: {{\Carbon\Carbon::parse($requisition_approval->date)->toDayDateTimeString()}}
{{$requisition->next_stage_name}}