@if(Session::has('flash_message'))
{{ Session::get('flash_message') }}
@endif

Store Name {{$branch_name}}

@foreach($data as $d) @php $_goal = 0.00; $_atv = 0.00; $_ft = 0.00; $_fpp = 0.00; $_upsell = 0.00; $_best = 0.00; $_foot = 0.00; if($d['net_amount'] > 0 ){ if($d['target'] > 0 ) { $_goal = ($d['net_amount'] - $d['refund_amount'] )/ $d['target']; } $_atv = ($d['net_amount'] - $d['refund_amount'] ) / $d['total_trans']; } if($d['total_trans'] > 0 && $d['frame_quantity'] > 0 ) { $_ft = $d['frame_quantity'] / $d['total_trans']; } if($d['total_trans'] > 0 && $d['foot_count'] > 0 ){ $_foot = $d['total_trans'] / $d['foot_count']; } if($d['frame_quantity'] > 0 && $d['frame_amount'] >0) { $_fpp = $d['frame_amount'] / $d['frame_quantity']; } if($d['frame_quantity'] > 0 && $d['upsell_quantity'] >0) { $_upsell = $d['upsell_quantity'] / $d['frame_quantity']; } if($d['best_seller_quantity'] > 0) { $_best = $d['best_seller_quantity']/25; } @endphp @endforeach
Workweek Start End Weekly Target Actual Sales % to Goal # of Transactions ATV Footcount Conversion Frame/Transactions Upsell% Frame Price Point 25 Best Seller Inventory
{{ $d['week'] }} {{$d['start_date'] }} {{ $d['end_date'] }} Php.{{ number_format($d['target'],2) }} Php.{{ number_format($d['net_amount'] - $d['refund_amount'],2) }} {{ round((float) $_goal * 100 ) }}.% {{ $d['total_trans'] }} {{ round((float)$_atv ) }} {{ $d['foot_count'] }} {{ round((float)$_foot ) }} {{ round($_ft,2) }} {{ round((float) $_upsell * 100 ) }}.% {{ round($_fpp,2) }} {{ round((float) $_best * 100 ) }}.%
@endsection