{{++$index}} |
{{$route_assignment->truck}} |
{{$route_assignment->loadingOrderVehicle->driver->full_name}} |
{{$route_assignment->LoadingOrder->client->code}} |
{{$route_assignment->loadingOrderDestination->city->name}} |
@foreach($route_border_expenses as $route_border_expense)
{{$route_assignment->getRouteExpenseCurrency($route_border_expense->account_id)}}
@if($route_assignment->getRouteExpenseCurrency($route_border_expense->account_id) == 'USD')
{{--*/ $total_usd +=$route_assignment->getRouteExpense($route_border_expense->account_id) /*--}}
{{--*/ $expense_total[$route_border_expense->account_id]['usd'][] = $route_assignment->getRouteExpense($route_border_expense->account_id) /*--}}
@else
{{--*/ $total_tsh +=$route_assignment->getRouteExpense($route_border_expense->account_id) /*--}}
{{--*/ $expense_total[$route_border_expense->account_id]['tsh'][] = $route_assignment->getRouteExpense($route_border_expense->account_id) /*--}}
@endif
|
@endforeach
{{\App\Logistics\Facades\Vehicles::getTruckPermitCurrency(15)}}
{{--{{\App\Logistics\Facades\Vehicles::getTruckPermitDaysRemaining(15,$vehicle_id)}}--}}
@if(\App\Logistics\Facades\Vehicles::getTruckPermitCurrency(15) == 'USD')
{{--*/ $road_permit_usd += \App\Logistics\Facades\Vehicles::getTruckPermitAmount(15,$vehicle_id) /*--}}
{{--*/ $total_usd += \App\Logistics\Facades\Vehicles::getTruckPermitAmount(15,$vehicle_id) /*--}}
@else
{{--*/ $road_permit_tsh += \App\Logistics\Facades\Vehicles::getTruckPermitAmount(15,$vehicle_id) /*--}}
{{--*/ $total_tsh += \App\Logistics\Facades\Vehicles::getTruckPermitAmount(15,$vehicle_id) /*--}}
@endif
|
{{\App\Logistics\Facades\Vehicles::getTruckPermitCurrency(14)}}
{{--{{\App\Logistics\Facades\Vehicles::getTruckPermitDaysRemaining(14,$vehicle_id)}}--}}
@if(\App\Logistics\Facades\Vehicles::getTruckPermitCurrency(14) == 'USD')
{{--*/ $carbon_tax_usd += \App\Logistics\Facades\Vehicles::getTruckPermitAmount(14,$vehicle_id) /*--}}
{{--*/ $total_usd += \App\Logistics\Facades\Vehicles::getTruckPermitAmount(14,$vehicle_id) /*--}}
@else
{{--*/ $carbon_tax_tsh += \App\Logistics\Facades\Vehicles::getTruckPermitAmount(14,$vehicle_id) /*--}}
{{--*/ $total_tsh += \App\Logistics\Facades\Vehicles::getTruckPermitAmount(14,$vehicle_id) /*--}}
@endif
|
{{\App\Logistics\Facades\Vehicles::getTruckPermitCurrency(10)}}
{{--{{\App\Logistics\Facades\Vehicles::getTruckPermitDaysRemaining(10,$vehicle_id)}}--}}
@if(\App\Logistics\Facades\Vehicles::getTruckPermitCurrency(10) == 'USD')
{{--*/ $zabs_usd += \App\Logistics\Facades\Vehicles::getTruckPermitAmount(10,$vehicle_id) /*--}}
{{--*/ $total_usd += \App\Logistics\Facades\Vehicles::getTruckPermitAmount(10,$vehicle_id) /*--}}
@else
{{--*/ $zabs_tsh += \App\Logistics\Facades\Vehicles::getTruckPermitAmount(10,$vehicle_id) /*--}}
{{--*/ $total_tsh += \App\Logistics\Facades\Vehicles::getTruckPermitAmount(10,$vehicle_id) /*--}}
@endif
|
@endif
@endforeach