@extends('adminlte::page') @section('content') @if ($message = Session::get('success'))

{{ $message }} transactions imported

@endif

Reports

@csrf
Export

@if(!empty($filters)) Active filters: @foreach($filters as $filter=>$value) @if($value!='') @if($filter=='broker') {{$filter}}: {{\App\Broker::find($value)->name}}, @elseif($filter=='carrier') {{$filter}}: {{\App\Carrier::find($value)->name}} @else {{$filter}}: {{$value}}, @endif @endif @endforeach Clear all

@endif Results per page : {{$results_per_page}} @if(!empty($table)) @foreach($table_header as $column=>$name) @endforeach @if(isset($table_header['broker'])) @endif @if(isset($table_header['carrier'])) @endif @if(isset($table_header['fuel_provider'])) @endif @if(isset($table_header['report_id'])) @endif @if(isset($table_header['driver'])) @endif @if(isset($table_header['unit'])) @endif @if(isset($table_header['merchant'])) @endif @if(isset($table_header['merchant_id'])) @endif @if(isset($table_header['invoice'])) @endif @if(isset($table_header['auth_code'])) @endif @if(isset($table_header['date'])) @endif @if(isset($table_header['volume']) && isset($totals_columns[0])) @endif @if(isset($table_header['price']) && isset($totals_columns[0]['price'])) @endif @if(isset($table_header['reefer_ppg']) && isset($totals_columns[0])) @endif @if(isset($table_header['reefer_quantity']) && isset($totals_columns[0])) @endif @if(isset($table_header['reefer_amount'])&& isset($totals_columns[0])) @endif @if(isset($table_header['discount']) && isset($totals_columns[0])) @endif @if(isset($table_header['discount2'])) @endif @if(isset($table_header['def']) && isset($totals_columns[0])) @endif @if(isset($table_header['def2']) && isset($totals_columns[0])) @endif @if(isset($table_header['total']) && isset($totals_columns[0])) @endif @if(isset($table_header['total_pay']) && isset($totals_columns[0])) @endif @foreach($table as $index=>$td) @foreach($table_header as $column=>$name) @if(isset($td[$column])) @elseif(isset($td['all'][$column])) @else @endif @endforeach @endforeach
View{{$name}}
Total{{$totals_columns[0]['total_volume']}} {{$totals_columns[0]['us_can']}} @if(isset($totals_columns[1]))/ {{$totals_columns[1]['total_volume']}} {{$totals_columns[1]['us_can']}} @endif{{number_format($totals_columns[0]['avg_price'],3)}} {{$totals_columns[0]['us_can']}} @if(isset($totals_columns[1]))/ {{number_format($totals_columns[1]['avg_price'],3)}} {{$totals_columns[1]['us_can']}} @endif{{number_format($totals_columns[0]['avg_reefer_ppg'],3)}} {{$totals_columns[0]['us_can']}} @if(isset($totals_columns[1]))/ {{number_format($totals_columns[1]['avg_reefer_ppg'],3)}} {{$totals_columns[1]['us_can']}} @endif{{$totals_columns[0]['total_volume_reefer']}} {{$totals_columns[0]['us_can']}} @if(isset($totals_columns[1]))/ {{$totals_columns[1]['total_volume_reefer']}} {{$totals_columns[1]['us_can']}} @endif{{$totals_columns[0]['total_reefer_amount']}} {{$totals_columns[0]['us_can']}} @if(isset($totals_columns[1]))/ @if(isset($totals_columns[1])){{$totals_columns[1]['total_reefer_amount']}} {{$totals_columns[1]['us_can']}} @endif @endif{{$totals_columns[0]['total_discount']}} {{$totals_columns[0]['us_can']}} @if(isset($totals_columns[1]))/ {{$totals_columns[1]['total_discount']}} {{$totals_columns[1]['us_can']}} @endif{{$totals_columns[0]['def_total']}} {{$totals_columns[0]['us_can']}} @if(isset($totals_columns[1]))/ {{$totals_columns[1]['def_total']}} {{$totals_columns[1]['us_can']}} @endif{{$totals_columns[0]['def_total2']}} {{$totals_columns[0]['us_can']}} @if(isset($totals_columns[1]))/ {{$totals_columns[1]['def_total2']}} {{$totals_columns[1]['us_can']}} @endif {{$totals_columns[0]['total_sum']}} {{$totals_columns[0]['us_can']}} @if(isset($totals_columns[1]))/ {{$totals_columns[1]['total_sum']}} {{$totals_columns[1]['us_can']}} @endif{{$totals_columns[0]['ttp_total']}} {{$totals_columns[0]['us_can']}} @if(isset($totals_columns[1]))/ {{$totals_columns[1]['ttp_total']}} {{$totals_columns[1]['us_can']}} @endif
View-0.01) style="background-color: greenyellow" @else style="background-color:red" @endif @elseif($column=='pl_check_3') @if($td[$column]<0.01 && $td[$column]>-0.01) style="background-color: greenyellow" @else style="background-color:red" @endif @endif >{{$td[$column]}}{{$td['all'][$column]}}
{{$cps_rep->links()}} @else

There are no reports matching your current filters!

@endif
@stop @section('css') @stop @section('js') @stop