@extends('adminlte::page') @section('title', 'Costs') @section('content_header') @stop @section('content')

Fuel provider invoices

@foreach ($statements as $statement) @endforeach
Date Invoice# Country Statement total Cost for carriers Cost for drivers Difference
{{$statement['date']}} {{$statement['invoice_no']}} {{$statement['country']}} {{$statement['statement_total']}} @if(isset($statement['carriers_cost'])) {{$statement['carriers_cost']}} @else - @endif @if(isset($statement['drivers_cost'])){{$statement['drivers_cost']}} @else - @endif {{(int)$statement['statement_total']-(int)($statement['carriers_cost']+$statement['drivers_cost'])}}
@endsection @section('css') @stop @section('js') @stop