@if($month_wise=="custom_range") @php $date = date('Y-m-d'); @endphp
@endif

@if (count($orders) > 0) @foreach ($orders as $key => $order) @php if($order->swiggy_commision!=null){ $swiggy_commision=$order->swiggy_commision; }else{ $swiggy_commision=0; } if($order->zomato_commision!=null) { $zomato_commision=$order->zomato_commision; }else{ $zomato_commision=0; } $cgstdata = $swiggy_commision*(int)$taxdata[0]->percentage/100; $sgstdata = $swiggy_commision*(int)$taxdata[1]->percentage/100; $customer_payable = $order->netsales + $cgstdata*2; $swiggy_com_amt = $order->netsales*$swiggy_commision/100; $total_swiggy = $order->netsales + $swiggy_com_amt ; $total_shero_swiggy = $total_swiggy - $order->netsales ; $zomato_com_amt = $order->netsales*$zomato_commision/100; $total_zomato = $order->netsales + $zomato_com_amt ; $total_shero_zomato = $total_zomato - $order->netsales; $total_deduction = $order->netsales + $cgstdata*2; $shero_income = $swiggy_commision + $sgstdata; @endphp @endforeach @else @endif
# Outlet Name Order From Order Status City Area No of Items Item Sales Outlet Discount Packageing Charges Gross Sales Net Sales Swiggy Commission Total Swiggy Deduction Shero Income Swiggy Zomato Commission Total Zomato Deduction Shero Income Zomato
{{ $key +1}} {{ $order->kitchen_name }} {{ $order->aggregator }} {{ $order->status }} {{ $order->city_name }} {{ $order->area_name }} {{ $order->itemCount }} {{ $order->itemSales }} {{ $order->shop_packing_charge }} {{ $order->grosssales }} {{ $order->netsales }} {{ $order->swiggy_commision }} {{ $total_swiggy }} {{ $total_shero_swiggy }} {{ $zomato_commision }} {{ $total_zomato }} {{ $total_shero_zomato }}

No Record Found

@if ($orders) {{ $orders->links('vendor.livewire.bootstrap') }} @endif