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

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

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

DISCOUNTS

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

NET SALES

₹@if($top_banners!=null){{ number_format($net_sales = $top_banners->gross_sales - $top_banners->discount,2) }} @else 0.00 @endif

TAXES

₹@if($top_banners!=null){{ number_format($top_banners->total_tax,2) ? : 0.00}} @else 0.00 @endif

NET TOTAL

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

@if($kitchen_name == null)
TOTAL CUSTOMERS

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

TOTAL NO. OF KITCHENS

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

@endif
Top Selling item
@if (count($top_items_sales) > 0) @foreach ($top_items_sales as $key => $value) @endforeach @else @endif
S.No
Product Name
Quantity
Net Total
{{$key + 1}} {{$value->itemName}} {{$value->quantity}} {{number_format($value->total_sales,2)}}

No Record Found

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

No Record Found

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

No Record Found

@endif --}}
{{--

Revenue by 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
--}}
@push('js') @endpush