@extends('adminlte::page')
@section('content')
          
            
            
              
              
                
                  
                      Export 
                     
                
                    
                    | Auth# | Invoice# | Ticket # | Date | Location | Country | Volume | Retail total | Failed | 
                    @foreach($pilot_statements as $pilot)
                        
                         | {{$pilot->auth_no}} | {{$pilot->invoice_no}} | {{$pilot->ticket_no}} | {{$pilot->billing_date}} | {{$pilot->location}} | {{$pilot->country}} | {{$pilot->fuel_units}} | {{$pilot->retail_total}} | {{$pilot->failed}} | 
                    @endforeach
            
                   
                  
                  
                    
                
                    
                    | Auth# | Invoice# | Ticket # | Date | Location | Country | Volume | Retail total | Failed | 
                    @foreach($failed_pilot_statements as $pilot)
                        
                         | {{$pilot->auth_no}} | {{$pilot->invoice_no}} | {{$pilot->ticket_no}} | {{$pilot->billing_date}} | {{$pilot->location}} | {{$pilot->country}} | {{$pilot->fuel_units}} | {{$pilot->retail_total}} | {{$pilot->failed}} | 
                    @endforeach
            
                   
                 
                  
                 
                
               
             
            
           
          
         
Transactions in CPS but not in Pilot Statements {{$cps_not_linked->count()}}
            
                
                    
                    | Auth# | Invoice# | Date | Merchant | Country | Total | 
                    @foreach($cps_not_linked as $cps)
                        
                         | {{$cps->auth_code}} | {{$cps->invoice}} | {{$cps->date}} | {{$cps->merchant}} | {{$cps->us_can}} | {{$cps->total}} | 
                    @endforeach
            
                
          
        Transactions are in CPS, but the Total does not equal to the FP-RT ({{count($cps_linked_duplicates)}}) (only results from last 30 days are displayed Show all)
        
                
                    
                    | Auth# | Invoice# | Date | Merchant | Country | Volume | Total | FP-RT | Difference | 
                    @foreach($cps_linked_duplicates as $cps)
                        
                         | {{$cps->auth_code}} | {{$cps->invoice}} | {{$cps->date}} | {{$cps->merchant}} | {{$cps->us_can}} | {{$cps->volume}} | {{$cps->total}} | {{$cps->pilotStatement->sum('retail_total')}} | {{$cps->total-$cps->pilotStatement->sum('retail_total')}} | 
                    @endforeach
            
@stop
@section('css')
@stop
@section('js')
@stop