DATE:{{ date('d/m/Y') }}

TRIP EXPENSES FOR TRIP # {{$route_assignment->id}}

Truck - Trailer{{$route_assignment->truck_registration}} - {{$route_assignment->trailer_registration}} Client{{$route_assignment->client}}
Driver{{$route_assignment->getDriver()->full_name}} Destination{{$route_assignment->route_to}}
{{----}} {{--*/ $overall_total_amount = 0 /*--}} {{--*/ $overall_total_budgeted_amount = 0 /*--}} {{--*/ $overall_total_un_budgeted_amount = 0 /*--}} @foreach($requisition_expenses as $index=> $requisition_expense) {{--*/ $total_budgeted_amount = $requisition_expense->budgetedAmount($route_assignment->id,$route_assignment->route_id) /*--}} {{--*/ $total_un_budgeted_amount = $requisition_expense->unBudgetedAmount($route_assignment->id,$route_assignment->route_id) /*--}} {{--*/ $total_amount = $total_budgeted_amount+$total_un_budgeted_amount /*--}} {{--*/ $overall_total_amount += $total_amount /*--}} {{--*/ $overall_total_budgeted_amount += $total_budgeted_amount /*--}} {{--*/ $overall_total_un_budgeted_amount += $total_un_budgeted_amount /*--}} {{----}} @endforeach {{----}}
SNO. Expense Budgeted Un BudgetedTotal
{{++$index}} {{$requisition_expense->name}} {{number_format($total_budgeted_amount,2)}} {{number_format($total_un_budgeted_amount,2)}}{{number_format($total_amount)}}
TOTAL {{number_format($overall_total_budgeted_amount,2)}} {{number_format($overall_total_un_budgeted_amount,2)}}{{number_format($overall_total_amount,2)}}