@extends('layouts.main', ['title' => 'LOGISTICS | Loading Orders']) @section('navigation') @stop @section('title', 'Loading Orders') @section('msghead_menu')
  • @endsection @section('contentinner')
    {{----}} @foreach($trip_expenses as $account) @endforeach {{--*/ $total_diesel = 0 /*--}} @foreach($loading_order_items as $index=>$loading_order_item) @foreach($trip_expenses as $account) {{--*/ $total[$account->account_id][] = $loading_order_item->getLoadingExpenseAmount($account->account_id,$account->direction) /*--}} @endforeach @endforeach @foreach($trip_expenses as $account) @endforeach
    LOADING DETAILS EXPENSES
    # Vehicles Driver Loading PointDiesel (Litres){{$account->account}}
    isAllowanceRequested()) disabled @endif type="checkbox" name="loading_order_item" class="loading_order_item_id" value="{{ $loading_order_item->id }}"> {{\App\Logistics\Facades\Logistics::generateInquiryNumber($loading_order_item)}} {{$loading_order_item->loadingOrderVehicle->vehicle->registration_number}} /{{$loading_order_item->loadingOrderVehicle->trailer->registration_number}} {{$loading_order_item->loadingOrderVehicle->driver->full_name}} {{$loading_order_item->city->name}},{{$loading_order_item->loading_point}}{{ $account->currency }}  {{number_format($loading_order_item->getLoadingExpenseAmount($account->account_id,$account->direction))}}
    Total{{ $account->currency }}  {{number_format(array_sum($total[$account->account_id]))}}
    @stop