{{--
@php $date = date('Y-m-d'); @endphp @if($day_filter=="custom_range")
@endif
--}}
@if($day_filter=="custom_range") @php $date = date('Y-m-d'); @endphp
@endif
{{--
--}}
{{--
--}} @include('modals.superAdmin.order.reject')
@if (count($pre_orders) > 0) @foreach ($pre_orders as $key => $pre_order) @php $subtotal_third = 0; $subtotal_cus_third = 0; @endphp @php $orderdetails = App\Models\PreOrderDetail::Where('pre_order_id',$pre_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 @if ($pre_order->user) @else @endif @endforeach @else @endif
S.No Order No Action Total Status Booking Date Booking Time Delivery Date Delivery Time Customer Name Customer Mobile Number Payment Mode
{{ $pre_orders->firstitem() + $key }} {{ $pre_order->pre_order_number }} @if($pre_order->status == 'pending') @endif @if($pre_order->status == 'placed') @endif @php $date=date('Y-m-d'); @endphp @if($pre_order->status == 'process' && $pre_order->delivery_date == $date ) @endif @if ($pre_order->status == 'ready') Ready @endif @if ($pre_order->status == 'rider_assigned') Rider Assigned @endif @if ($pre_order->status == 'delivery_location_reached') Delivery Location Reached @endif @if ($pre_order->status == 'dispatched') Dispatched @endif @if ($pre_order->status == 'delivered') Delivered @endif @if($pre_order->status == 'pickup_shop_reached') @endif {{-- @if($pre_order->status == 'dispatched') @endif --}} @if($pre_order->status == 'placed') @endif ₹ {{ $subtotal_third + $subtotal_cus_third }} @if ($pre_order->status == 'pending') Pending @endif @if ($pre_order->status == 'placed') Placed @endif @if ($pre_order->status == 'process') Process @endif @if ($pre_order->status == 'ready') Ready @endif @if ($pre_order->status == 'rider_assigned') Rider Assigned @endif @if ($pre_order->status == 'rts_initiated') Return to kitchen initiated @endif @if ($pre_order->status == 'rts_completed') Return to kitchen completed @endif @if ($pre_order->status == 'delivery_location_reached') Delivery Location Reached @endif @if ($pre_order->status == 'dispatched') Dispatched @endif @if ($pre_order->status == 'delivered') Delivered @endif @if($pre_order->status == 'pickup_shop_reached') @endif @if ($pre_order->status == 'cancelled') Cancelled @endif {{ date('M d,Y', strtotime($pre_order->booking_date)) }} {{ \Carbon\Carbon::createFromTimestamp($pre_order->booking_time, 'Asia/Kolkata')->format('h:i A') }} {{ date('M d,Y', strtotime($pre_order->delivery_date)) }} {{ $pre_order->delivery_time }}{{ $pre_order->user->name }}{{ $pre_order->customer_name }} @if($pre_order->user) @if(substr($pre_order->user->mobile_number,0,3) == "+91") {{ substr($pre_order->user->mobile_number,3) }} @else {{ substr($pre_order->user->mobile_number,1) }} @endif @else @if(substr($pre_order->customer_phone_number,0,3) == "+91") {{ substr($pre_order->customer_phone_number,3) }} @else {{ substr($pre_order->customer_phone_number,1) }} @endif @endif @if($pre_order->payment_method == 1) Cash On Delivery @elseif($pre_order->payment_method == 2) Razorpay @elseif($pre_order->payment_method == 3) Paid with Wallet @elseif($pre_order->payment_method == 4) COD + Wallet @elseif($pre_order->payment_method == 5) Razorypay + Wallet @endif

No Record Found

@if ($pre_orders) {{ $pre_orders->links('vendor.livewire.bootstrap') }} @endif
@push('js') @endpush