{{$company->company_name}}
INCOME STATEMENT
For the Route NO. {{$route_assignment->id}} , Departure on {{\Carbon\Carbon::parse($route_assignment->departure_date)->toFormattedDateString()}} , {{$route_assignment->route}}

{{--*/ $revenue = 0 /*--}} @foreach($invoices as $invoice) {{--*/ $revenue +=$revenue_ /*--}} @endforeach {{----*/ $cost_total = 0 /*----}} @foreach($expenses as $expense) {{----*/ $cost_total += $expense['value'] /*----}} @endforeach
Invoice {{$invoice->id}}: {{number_format($revenue_ = $invoice->destination->amount *$invoice->invoice->exchange_rate)}}
Total Revenues {{number_format($revenue)}}
{{$expense['expense_name']}}: {{number_format($expense['value'])}}
Total Expenses {{number_format($expense_total= $cost_total)}}