NO.: |
{{$requisition->id}} |
Initiator: |
{{$requisition->initiator}} |
Requested On: |
{{\Carbon\Carbon::parse($requisition->date)->toFormattedDateString()}} |
Required On: |
{{\Carbon\Carbon::parse($requisition->required_date)->toFormattedDateString()}} |
Uses: |
{{$requisition->request_for}} |
Initiator Remark: |
{{nl2br($requisition->remarks)}} |
@if(Auth::user()->getApprovalChainLevelId($requisition->approval_chain_module_id) == $requisition->next_stage)
- My Response
@endif
- Chain of Approval
@if(Auth::user()->getApprovalChainLevelId($requisition->approval_chain_module_id) == $requisition->next_stage)
@if(Auth::user()->getApprovalChainLevelId($requisition->approval_chain_module_id) == -1)
@include('requisitions.auto_generated.responses.driver_mileages._views._contra_vouchers',
['credit_account_groups'=>$credit_account_groups,'last_requisition_approval'=>$last_requisition_approval])
@else
@include('requisitions.auto_generated.responses.driver_mileages._views._approval',
['credit_account_groups'=>$credit_account_groups,
'cash_requisition_item_descriptions'=>$cash_requisition_item_descriptions])
@endif
@endif
REQUESTED ITEMS
S/N |
Truck & Trailer |
Driver |
Tonnage |
DEL .POINT |
Mileage |
Bonus |
Total |
{{--*/ $total_driver_payable = 0 /*--}}
@foreach($requisition->requisitionItems as $index=>$requisition_item)
@endforeach
Total amount |
{{number_format($total_driver_payable,2)}} |
@if(!empty($requisition->remarks))
REMARKS( {{$requisition->employee_requester}} ): {{$requisition->remarks}}
@endif
@if(sizeof($requisition->requisitionApprovals) > 0)
@foreach($requisition->requisitionApprovals as $requisition_approval)
Items {{$requisition_approval->approval_action}} By {{$requisition_approval->employee_approve}}
(as {{$requisition_approval->approve_as}})
at {{\Carbon\Carbon::parse($requisition_approval->date)->toDayDateTimeString()}}
S/N |
Truck & Trailer |
Driver |
Tonnage |
DEL .POINT |
Mileage |
Bonus |
Total |
{{--*/ $total_driver_payable_ = 0 /*--}}
@foreach($requisition_approval->requisitionApprovalItems as $index=>$requisition_approval_item)
@foreach($requisition_approval_item->requisitionItem->requisitionItemDescriptions as $item_description)
{{++$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}} |
{{$requisition_approval_item->requisitionItem->getAmount(5,$requisition_approval_item->id)}} |
{{number_format($requisition_approval_item->requisitionItem->getAmount(27,$requisition_approval_item->id))}} |
{{number_format($requisition_approval_item->requisitionItem->getAmount(5,$requisition_approval_item->id)+$requisition_approval_item->requisitionItem->getAmount(27,$requisition_approval_item->id))}}
{{--*/ $total_driver_payable_ += $requisition_approval_item->requisitionItem->getAmount(5,$requisition_approval_item->id)+$requisition_approval_item->requisitionItem->getAmount(27,$requisition_approval_item->id) /*--}}
|
@endforeach
@endforeach
Total amount |
{{number_format($total_driver_payable_,2)}} |
@if(!empty($requisition_approval->remarks))
REMARKS( {{$requisition_approval->employee_approve}} ): {{$requisition_approval->remarks}}
@endif
@endforeach
@endif
PRINT CHAIN