@if($carrier->daily_price_logo!='') daily_price_logo)}}" width="49px" height="80px" style="position:absolute;left:60px;top:-25px">

@else
@endif

{{Carbon\Carbon::createFromFormat('Y-m-d',$date)->format('d/m/Y')}}

@if($carrier->daily_prices_header=='') Daily Prices
{{$carrier->name}}
@else {!!$carrier->daily_prices_header!!} @endif @foreach($report as $r) @if($r->retail_price>0) @else @endif @endforeach
Fuel provider Site City Prov Retail price Your savings Your price
Pilot/Flying J {{$r->site}} {{$r->city}} {{$r->state}} {{$r->retail_price}} @if($r->country=='US') @if($discount_profile->pilot_us_discount_type=='percent') {{number_format(($discount_profile->pilot_usd/100)*$r->savings_total,3)}} @elseif($discount_profile->pilot_us_discount_type=='retail_minus') {{($r->retail_price-($r->retail_price-$discount_profile->pilot_usd))}} @else {{($r->retail_price-($r->your_price+$discount_profile->pilot_usd))}} @endif @elseif($r->country=='CAN') @if($discount_profile->pilot_cad_procent=='Y') {{number_format(($discount_profile->pilot_cad/100)*$r->savings_total,3)}} @elseif($discount_profile->pilot_cad_discount_type=='retail_minus') {{($r->retail_price-($r->retail_price-$discount_profile->pilot_cad))}} @else {{($r->retail_price-($r->your_price+$discount_profile->pilot_cad))}} @endif @endif @if($r->country=='US') @if($discount_profile->pilot_us_discount_type=='percent') {{number_format($r->retail_price-(($discount_profile->pilot_usd/100)*$r->savings_total),3)}} @elseif($discount_profile->pilot_us_discount_type=='retail_minus') {{$r->retail_price-$discount_profile->pilot_usd}} @else {{$r->your_price+$discount_profile->pilot_usd}} @endif @elseif($r->country=='CAN') @if($discount_profile->pilot_cad_discount_type=='percent') {{number_format($r->retail_price-(($discount_profile->pilot_cad/100)*$r->savings_total),2)}} @elseif($discount_profile->pilot_cad_discount_type=='retail_minus') {{$r->retail_price-$discount_profile->pilot_cad}} @else {{$r->your_price+$discount_profile->pilot_cad}} @endif @endif - -