@extends('layouts.master') @section('style') @endsection @section('content') @php $start_date = ''; $end_date = ''; if (!empty(request()->get('start_date'))) { $start_date = request()->get('start_date'); } else { $start_date = \Carbon\Carbon::now()->startOfMonth(); } if (!empty(request()->get('end_date'))) { $end_date = request()->get('end_date'); } else { $end_date = \Carbon\Carbon::now()->endOfMonth(); } @endphp
@foreach($gallonsDataTable as $index => $totalGallonsHead) @php $tabId = ""; if($index == 'In Network Gallons'){ $tabId = '#'; }elseif($index == 'Out Network Gallons'){ $tabId = '#outNeworkGallons'; }elseif($index == 'TA Gallons'){ $tabId = '#taGallons'; }elseif($index == 'Pilot Gallons'){ $tabId = '#pilotGallons'; } elseif($index == 'Loves Gallons'){ $tabId = '#lovesGallons'; }elseif($index == 'One9 and Express Gallons'){ $tabId = '#pilotOne9ExpressGallons'; }elseif($index == 'PilotFJ'){ $tabId = '#'; } @endphp @if($index != 'Total') | ||
---|---|---|
{{$index}} | @if(!empty($totalGallonsHead)) {{number_format($totalGallonsHead,2)}} @else {{$totalGallonsHead}} @endif | |
{{$index}} | {{$totalGallonsHead}} |
State | Total | TotalGallons | TotalCharges | AvgPrice | TotalRebate |
---|---|---|---|---|---|
Total |
State | Total | TotalGallons | TotalCharges | AvgPrice | TotalRebate |
---|---|---|---|---|---|
Total |
State | Total | TotalGallons | TotalCharges | AvgPrice | TotalRebate |
---|---|---|---|---|---|
Total |
Date | Unit | Card # | Location | Item | Retail | Qty | Amount |
---|---|---|---|---|---|---|---|
Total |
State | Gallons | Range | Avg Rate |
---|---|---|---|
Total |
State | Miles | Range |
---|---|---|
Total |
COUNT | Location | QTY | AVG RATE | AVG REBATE |
---|---|---|---|---|
Total |