@extends('layouts.backend') @section('extraCss') @endsection @php $spscount = \App\CustomerPlan::with('customerRef')->whereHas('customerRef', function ($q) use ($pos_id) { $q->whereIn('warehouse_id', $pos_id); $q->Distinct('customer_id'); })->where('current', 1)->where('status', 1)->whereBetween('start_date', [$startdate, $enddate])->count(); $storesType = [ 1 => 'Suti' , 2 => 'Central' , 3 => 'Shopper' ]; $reqpos = request("pos_id"); @endphp @section('mainContentArea')
Date | @if($filterby != 'month')Day | @endifStore Location | Foot fall | Repeat | New | Total NOB | QTY | UPT | ABV | ASP | SPS Target | New SPS | Old SPS | MTD | MRP | SPS Discount | Clearence Discount | Other Offer Discount | Gift Vouchers | Reward Points | Used Wallet Amount | Used Credit Note | Realized sale | ACH% | CONV% | 0 - 1499 | 1500 - 2499 | 2500 - 4998 | 4999 - 5999 | 6000 - 9999 | 10000 & above |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{{$order['date']}} | @if($filterby != 'month'){{date('l', strtotime($order['date']))}} | @endif{{$order['store']}} | {{$order['setfootfall']}} | {{$order['oldcustomer']}} | {{$order['newcustomer']}} | {{$order['totalBill']}} | {{$order['totalQty'] }} | {{number_format($order['upt'],2)}} | {{ number_format((float)$abv, 2, '.', '') }} | {{ number_format((float)$asp, 2, '.', '') }} | {{$order['spsTarget']}} | {{$order['spscount']}} | {{$order['oldspscount']}} | {{$order['mtd']}} | {{$order['totalMrp'] }} | {{$order['totalSpsDiscount']}} | {{$clearence}} | {{$otherOffer}} | {{$order['voucher']}} | {{ number_format((float)$order['totalreward'], 2, '.', '')}} | {{$order['walletAmt']}} | {{$totalCnote }} | {{$totalTotal }} | 0 | 0 | {{$order['bill0']}} | {{$order['bill15']}} | {{$order['bill25']}} | {{$order['bill5']}} | {{$order['bill7']}} | {{$order['bill10']}} |
@if($filterby != 'month') | @endif | {{$gtotalfoot}} | {{$gtotaloldcustomer}} | {{$gtotalnewcustomer}} | {{$gtotalbill}} | {{$gqty}} | @php $aupt=$gqty / $gtotalbill; $aabv=$gfinal / $gtotalbill ; $aasp=$gfinal / $gqty; @endphp{{number_format($aupt,2)}} | {{ round ($aabv) }} | {{ round ($aasp) }} | {{round($gtotalSPS)}} | {{round($gtotalSPSOld)}} | {{round($gmrp)}} | {{round($gtotalspss)}} | {{round($gclearence)}} | {{round($gotherOffer)}} | {{round($gtotalvocher)}} | {{round($gtotalreward)}} | {{round($gwalletdis)}} | {{round($gtotalCnote)}} | {{round($gfinal)}} | 0 | 0 | {{round($gtotalbill0) }} | {{round($gtotalbill15) }} | {{round($gtotalbill25) }} | {{round($gtotalbill5) }} | {{round($gtotalbill7) }} | {{round($gtotalbill10) }} | |||
Date | @if($filterby != 'month')Day | @endifStore Location | Foot fall | Repeat | New | Total NOB | QTY | UPT | ABV | ASP | Sps Target | New SPS | Old SPS | MTD | MRP | SPS Discount | Clearence Discount | Other Offer Discount | Gift Vouchers | Reward Points | Used Wallet Amount | Used Credit Note | Realized sale | ACH% | CONV% | 0 - 1499 | 1500 - 2499 | 2500 - 4998 | 4999 - 5999 | 6000 - 9999 | 10000 & above |