S.No | Order No | Action | Total | Status | Aggregator | Date | Time | Customer Name | Customer Mobile Number | Delivery Type | Payment Mode | |
---|---|---|---|---|---|---|---|---|---|---|---|---|
{{ $sales->firstitem() + $key }} | @if($sale->aggregator == 'shero-home'){{ $sale->order_number }}@elseif($sale->aggregator == 'swiggy' || $sale->aggregator == 'zomato' ){{ $sale->aggregator_order_number }} @endif | @if($sale->order_status == 'pending') @endif @if($sale->order_status == 'placed') @endif @if($sale->order_status == 'process') @endif @if ($sale->order_status == 'ready') Ready @endif @if ($sale->order_status == 'rider_assigned') Rider Assigned @endif @if ($sale->order_status == 'delivery_location_reached') Delivery Location Reached @endif @if($sale->order_status == 'pickup_shop_reached') @endif @if($sale->order_status=='ready' && $sale->delivery_type == 1) @if($sale->order_status == 'dispatched') @endif @endif @if($sale->order_status != 'dispatched') @endif | @php $subtotal_third = 0; $subtotal_cus_third = 0; @endphp @php $orderdetails = App\Models\OrderDetail::Where('order_id',$sale->order_id)->get(); if(count($orderdetails) > 0) { foreach ($orderdetails as $key => $order_detail) { # code... if (count($order_detail->customers_items) > 0) { foreach ($order_detail->customers_items as $key => $items) { $datacustom = $items->item->variation->pp_price * $items->quantity; $subtotal_cus_third += (float) $datacustom; } } $dataaddSub = $order_detail->quantity * $order_detail->item->variation->pp_price; $subtotal_third += (float) $dataaddSub; } } @endphp₹ {{ number_format($subtotal_third + $subtotal_cus_third,2) }} | @if ($sale->order_status == 'pending') Pending @endif @if ($sale->order_status == 'placed') Placed @endif @if ($sale->order_status == 'process') Process @endif @if ($sale->order_status == 'ready') Ready @endif @if ($sale->order_status == 'rider_assigned') Rider Assigned @endif @if ($sale->order_status == 'pickup_shop_reached') Pickup Shop Reached @endif @if ($sale->order_status == 'delivery_location_reached') Delivery Location Reached @endif @if ($sale->order_status == 'dispatched') Dispatched @endif @if ($sale->order_status == 'delivered') Delivered @endif @if ($sale->order_status == 'cancelled') Cancelled @endif @if ($sale->order_status == 'rts_initiated') Return to kitchen initiated @endif @if ($sale->order_status == 'rts_completed') Return to kitchen completed @endif | {{ $sale->aggregator }} | {{ date('d-m-Y', strtotime($sale->booking_date)) }} | {{ \Carbon\Carbon::createFromTimestamp($sale->booking_time, 'Asia/Kolkata')->format('h:i A') }} | @if ($sale->user){{ $sale->user->name }} | @else{{ $sale->customer_name }} | @endif@if($sale->user) @if(substr($sale->user->mobile_number,0,3) == "+91") {{ substr($sale->user->mobile_number,3) }} @else {{ substr($sale->user->mobile_number,1) }} @endif @else @if(substr($sale->customer_phone_number,0,3) == "+91") {{ substr($sale->customer_phone_number,3) }} @else {{ substr($sale->customer_phone_number,1) }} @endif @endif | @if($sale->delivery_type == '0') Door Delivery @else Self Pickup @endif | @if($sale->payment_method_id == 1) Cash On Delivery @elseif($sale->payment_method_id == 2) Razorpay @elseif($sale->payment_method_id == 3) Paid with Wallet @elseif($sale->payment_method_id == 4) COD + Wallet @elseif($sale->payment_method_id == 5) Razorypay + Wallet @endif |
No Record Found |