@extends('maindash2')
@section('htmlheader_title')
Invoice Table
@endsection
@section('content')
WARMapi Invoice Validator Analysis
Invoice Number {!!$istrashTable[0]->invoice_number!!} Analysis
Invoice Date: {!!$istrashTable[0]->invoice_date!!}
Location Name: {!!$istrashTable[0]->location_name!!}
Hauler Name: {!!$istrashTable[0]->hauler_name!!}
Hauler Contact Name: {!!$istrashTable[0]->hauler_contact_name!!}
Hauler Email: {!!$istrashTable[0]->hauler_email!!}
Monthly Trash Rate Per Contract: ${!!$istrashTable[0]->contracted_monthly_rate_trash!!}
Monthly Trash Rate Per This Invoice: ${!!$istrashTable[0]->monthly_rate_trash!!}
Monthly Trash Rate Discrepancy Per Analysis: ${!!number_format($istrashTable[0]->monthly_rate_discrep_trash, 2, '.', ',')!!}
Monthly Recycling Rate Per Contract: ${!!$isrecyclingTable[0]->contracted_monthly_rate_recycling!!}
Monthly Recycling Rate Per This Invoice: ${!!$isrecyclingTable[0]->monthly_rate_recycling!!}
Monthly Recycling Rate Discrepancy Per Analysis: ${!!number_format($isrecyclingTable[0]->monthly_rate_discrep_recycling, 2, '.', ',')!!}
Extra Trash Pickup Rate Per Contract: ${!!$extraTPickupTable[0]->contracted_extra_pickup_rate_trash!!}
Number Extra Pickups of Trash this invoice: {!!$extraTPickupTable[0]->number_extra_pickups_trash!!}
Monthly Trash Extra Pickup Fee Per Contract: ${!!$extraTPickupTable[0]->contracted_total_extra_pickup_rate_trash!!}
Monthly Trash Extra Pickup Fee Per Per this invoice: ${!!number_format($extraTPickupTable[0]->invoiced_total_extra_pickup_rate_trash, 2, '.', ',')!!}
Monthly Trash Extra Pickup Discrepancy Per Analysis: ${!!number_format($extraTPickupTable[0]->extra_pickup_discrep_trash, 2, '.', ',')!!}
Extra Recycling Pickup Rate Per Contract: ${!!$extraRPickupTable[0]->contracted_extra_pickup_rate_recycling!!}
Number Extra Pickups of Recycling this invoice: {!!$extraRPickupTable[0]->number_extra_pickups_recycling!!}
Monthly Recycling Extra Pickup Fee Per Contract: ${!!$extraRPickupTable[0]->contracted_total_extra_pickup_rate_recycling!!}
Monthly Recycling Extra Pickup Fee Per Per this invoice: ${!!$extraRPickupTable[0]->invoiced_total_extra_pickup_rate_recycling!!}
Monthly Recycling Extra Pickup Discrepancy Per Per Analysis: ${!!$extraRPickupTable[0]->extra_pickup_discrep_recycling!!}
@if ($fuelTable[0]->fuel == 0)
Fuel Component Trash fee this Invoice: $0.00
@else
Haulers Correct Fuel Component percentage for Trash and Recycling : {!!$fuelTable[0]->wm_fuel_percentage!!}
Fuel Component percentage Trash this Invoice: {!!$fuelTable[0]->invoiced_fuel_percentage!!}
Fuel Component Trash fee this Invoice: ${!!number_format($fuelTable[0]->invoiced_fuel_fee, 2, '.', ',')!!}
Correct Fuel Component Trash fee: ${!!number_format($fuelTable[0]->contract_fuel_fee_trash, 2, '.', ',')!!}
Fuel Component Trash Discrepancy Per Analysis: ${!!number_format($fuelTable[0]->invoiced_fuel_discrep_trash, 2, '.', ',')!!}
@endif
@if ($fuelTable[0]->fuel == 0)
Fuel Component Recycling fee this Invoice: $0.00
@else
Fuel Component percentage Recycling this Invoice: {!!$fuelRTable[0]->invoiced_fuel_percentage!!}
Fuel Component Recycling fee this Invoice: ${!!number_format($fuelRTable[0]->invoiced_fuel_fee, 2, '.', ',')!!}
Correct Fuel Component Recycling fee: ${!!number_format($fuelRTable[0]->contract_fuel_fee_recycling, 2, '.', ',')!!}
Fuel Component Recycling Discrepancy Per Analysis: ${!!number_format($fuelRTable[0]->invoiced_fuel_discrep_recycling, 2, '.', ',')!!}
@endif
@if ($enviroTable[0]->environmental == 0)
Environmental Component Trash This Invoice: $0.00
@elseif ($enviroTable[0]->invoiced_inviro_percentage < .16)
Enviro Component Trash Discrepancy Per Analysis: 0.00
@else
Haulers Correct Environmental Component Percentage for Trash and Recycling: 0.16
Environmental Percentage Trash & Recycling This Invoice: {!!$enviroTable[0]->invoiced_inviro_percentage!!}
Environmental Component Trash This Invoice: ${!!number_format($enviroTable[0]->invoiced_environmental_fee_trash, 2, '.', ',')!!}
Correct Environmental Component Trash Fee: ${!!number_format($enviroTable[0]->contract_environmental_fee_trash, 2, '.', ',')!!}
Enviro Component Trash Discrepancy Per Analysis: ${!!number_format($enviroTable[0]->contract_enviro_discrep_trash, 2, '.', ',')!!}
@endif
@if ($enviroRTable[0]->environmental == 0)
Environmental Component Recycling This Invoice: $0.00
@elseif ($enviroTable[0]->invoiced_inviro_percentage < .16)
Enviro Component Recycling Discrepancy Per Analysis: 0.00
@else
Environmental Component Recycling This Invoice: ${!!number_format($enviroRTable[0]->invoiced_environmental_fee_recycling, 2, '.', ',')!!}
Correct Environmental Component Recycling Fee: ${!!number_format($enviroRTable[0]->contract_environmental_fee_recycling, 2, '.', ',')!!}
Enviro Component Recycling Discrepancy Per Analysis: ${!!number_format($enviroRTable[0]->contract_enviro_discrep_recycling, 2, '.', ',')!!}
@endif
@if ($istrashTable[0]->admin == 0)
Admin Fee This Invoice: $0.00
@else
Admin Fee This Invoice: ${!!$istrashTable[0]->admin!!}
Admin Fee Per Contract: $5.00
Admin Fee Discrepancy Per Analysis: ${!!$istrashTable[0]->admin_discrep!!}
@endif
Total Credit Due Per Invoice Analysis: ${!!number_format($totCredit, 2, '.', ',')!!}
Email {!!$istrashTable[0]->hauler_contact_name!!} to request a credit.
@endsection