{{++$index}} |
{{$requisition_approval_item->requisitionItem->loadingOrderItemRequisitionItem->loadingOrderItem->loadingOrderVehicle->vehicle->registration_number}} |
{{$requisition_approval_item->requisitionItem->loadingOrderItemRequisitionItem->loadingOrderItem->loadingOrderVehicle->driver->driver}} |
{{$requisition_approval_item->requisitionItem->loadingOrderItemRequisitionItem->loadingOrderItem->loadingOrderVehicle->driver->licence_number}} |
{{$requisition_approval_item->requisitionItem->loadingOrderItemRequisitionItem->loadingOrderItem->clientLoadingOrder ? $requisition_approval_item->requisitionItem->loadingOrderItemRequisitionItem->loadingOrderItem->clientLoadingOrder->client->name : 'PIPE LINE'}} |
{{$requisition_approval_item->requisitionItem->loadingOrderItemRequisitionItem->loadingOrderItem->loadingOrderDestination ? $requisition_approval_item->requisitionItem->loadingOrderItemRequisitionItem->loadingOrderItem->loadingOrderDestination->city->name : 'PIPE LINE'}} |
{{number_format($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)}} |
@endif
{{--*/ $j++ /*--}}
@endforeach
@else
{{--*/ $total_requested = 0 /*--}}
{{--*/ $j=1 /*--}}
@foreach($requisition->requisitionItems as $index=>$requisition_item)
@if($requisition_item->requisitionItemItem)
{{++$index}} |
{{$requisition_item->loadingOrderItemRequisitionItem->loadingOrderItem->loadingOrderVehicle->vehicle->registration_number}} |
{{$requisition_item->loadingOrderItemRequisitionItem->loadingOrderItem->loadingOrderVehicle->driver->full_name}} |
{{$requisition_item->loadingOrderItemRequisitionItem->loadingOrderItem->loadingOrderVehicle->driver->licence_number}} |
{{$requisition_item->loadingOrderItemRequisitionItem->loadingOrderItem->clientLoadingOrder ? $requisition_item->loadingOrderItemRequisitionItem->loadingOrderItem->clientLoadingOrder->client->name : 'PIPE LINE' }} |
{{$requisition_item->loadingOrderItemRequisitionItem->loadingOrderItem->loadingOrderDestination ? $requisition_item->loadingOrderItemRequisitionItem->loadingOrderItem->loadingOrderDestination->city->name : 'PIPE LINE' }} |
{{number_format($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)}} |
@endif
@endforeach
@endif