@if($custom_range==1) @php $date = date('Y-m-d'); @endphp
{{--

--}}
@endif
@if($custom_range==1)
{{-- --}}
@endif
GROSS SALES

₹@if($top_banners!=null){{$top_banners->gross_sales ? : 0.0}} @else 0 @endif

DISCOUNTS

₹@if($top_banners!=null){{$top_banners->discount ? : 0.0}} @else 0 @endif

REFUNDS

₹@if($top_banners!=null)0 @else 0 @endif

NET SALES

₹@if($top_banners!=null){{ $net_sales = $top_banners->gross_sales - $top_banners->discount }} @else 0 @endif

TAXES

₹@if($top_banners!=null){{ $top_banners->total_tax ? : 0.0}} @else 0 @endif

NET TOTAL

₹@if($top_banners!=null){{ $grand_total = $net_sales + $top_banners->total_tax }} @else 0 @endif

TOTAL CUSTOMERS

@if($top_banners!=null){{$total_customer}} @else 0 @endif

TOTAL NO. OF FRANCHISE

@if($top_banners!=null){{$total_franchise}} @else 0 @endif

Top Item by Sales
@if (count($top_items_sales) > 0) @foreach ($top_items_sales as $key => $value) @endforeach @else @endif
Sl.No
Variation Name
Net Total
Total Quantity
{{$key + 1}} {{$value->itemName}} {{$value->total_sales}} {{$value->quantity}}

No Record Found

Top Category by Sales
@if (count($top_category_sales) > 0) @foreach ($top_category_sales as $key => $value) @endforeach @else @endif
Sl.No
Category Name
Net Total
Total Quantity
{{$key + 1}} {{$value->name}} {{$value->total_sales}} {{$value->quantity}}

No Record Found

{{-- @if(count($top_category) > 0) --}}
{{-- @else

No Record Found

@endif --}}

Payment Methods

{{-- @if($piechart_cod != 0 && $piechart_online != 0) --}}
{{-- @else

No Record Found

@endif --}}

Sales Trend

{{-- @if(count($sales_dates) > 0) --}}
{{-- @else

No Record Found

@endif --}}