@include('modals.superAdmin.order.timeline-reject')
S.No | Items | Qty | Price | Amount |
---|---|---|---|---|
{{ $loop->index + 1 }} | {{ $order_detail->item_name }}
@if (count($order_detail->customers_items) > 0)
@foreach ($order_detail->customers_items as $key => $items)
|
{{ $order_detail->quantity }}
@if (count($order_detail->customers_items) > 0)
@foreach ($order_detail->customers_items as $key => $items)
{{ $items->quantity }} @endforeach @else @endif |
₹ {{ number_format($order_detail->variant_amount, 2) }}
@if (count($order_detail->customers_items) > 0)
@foreach ($order_detail->customers_items as $key => $items)
₹ {{ number_format($items->unit_price, 2) }} @endforeach @else @endif |
₹ {{ number_format($order_detail->quantity * $order_detail->variant_amount, 2) }}
@if (count($order_detail->customers_items) > 0)
@foreach ($order_detail->customers_items as $key => $items)
₹ {{ number_format($items->unit_price * $items->quantity, 2) }} @endforeach @else @endif |
Sub Total :
₹ {{ number_format($sub_total, 2) }}
Tax :
₹ {{ number_format($tax_amount, 2) }}
Delivery Charge :
₹ {{ number_format($delivery_charge, 2) }}
Packaging Charge :
₹ {{ number_format($packaging_charge, 2) }}
Wallet :
- ₹ {{ number_format($wallet, 2) }}
Tips :
+ ₹ {{ number_format($tips, 2) }}
Discount :
(-)₹ {{ number_format($discount_amount, 2) }}
S.No | --}}Name | Details |
---|---|---|
1 | --}}Customer Name | {{ $user_name }} |
2 | --}}Customer Number | {{ $user_number }} |
3 | --}}Customer Email | {{ $user_email }} |
4 | --}}Customer Address | {{ $user_address }} |
S.No | Payment Gateway | Detail |
---|---|---|
1 | Payment Type | @if ($payment_method_id == 1) Cash On Delivery @elseif($payment_method_id == 2) Razorpay @elseif($payment_method_id == 3) Paid with Wallet @elseif($payment_method_id == 4) COD + Wallet @elseif($payment_method_id == 5) Razorypay + Wallet @endif |
2 | Payment Status | @if ($order->payment_method_id == 1) @if ($order->status == 'delivered') Paid @else Not Paid @endif @else @if ($payment_status == 1) Paid @else Not Paid @endif @endif |
3 | Razorpay Id | {{ $razorpay_id }} |
Name | Details |
---|---|
Rider Name | {{ $rider_name }} |
Rider Contact Number | {{ $rider_contact }} |
{{ $normal_order_Status->assigned_order_status_name }}
@if ($order->booking_time != null) @php $carbonDate = Carbon\Carbon::createFromTimestamp( $order->booking_time, ); $formattedDate = $carbonDate->format( 'l,M j ,Y ,g:i a', ); echo $formattedDate; @endphp @endif
@elseif($normal_order_Status->order_status->name == 'process'){{ $normal_order_Status->assigned_order_status_name }}
@if ($order->accept_time != null) @php $carbonDate = Carbon\Carbon::createFromTimestamp( $order->accept_time, ); $formattedDate = $carbonDate->format( 'l,M j ,Y ,g:i a', ); echo $formattedDate; @endphp @endif
@elseif($normal_order_Status->order_status->name == 'ready'){{ $normal_order_Status->assigned_order_status_name }}
@if ($order->ready_time != null) @php $carbonDate = Carbon\Carbon::createFromTimestamp( $order->ready_time, ); $formattedDate = $carbonDate->format( 'l,M j ,Y ,g:i a', ); echo $formattedDate; @endphp @endif
@elseif($normal_order_Status->order_status->name == 'dispatched'){{ $normal_order_Status->assigned_order_status_name }}
@if ($order->dispatched_time != null) @php $carbonDate = Carbon\Carbon::createFromTimestamp( $order->dispatched_time, ); $formattedDate = $carbonDate->format( 'l,M j ,Y ,g:i a', ); echo $formattedDate; @endphp @elseif($order->time != null) @if ($order->time->dispatch_time) @php $carbonDate = Carbon\Carbon::parse( $order->time->dispatch_time, ); $formattedDate = $carbonDate->format( 'l,M j ,Y ,g:i a', ); echo $formattedDate; @endphp @endif @endif
@elseif($normal_order_Status->order_status->name == 'delivered'){{ $normal_order_Status->assigned_order_status_name }}
@if ($order->delivered_time != null) @php $carbonDate = Carbon\Carbon::createFromTimestamp( $order->delivered_time, ); $formattedDate = $carbonDate->format( 'l,M j ,Y ,g:i a', ); echo $formattedDate; @endphp @elseif($order->time != null) @if ($order->time->delivery_time) @php $carbonDate = Carbon\Carbon::parse( $order->time->delivery_time, ); $formattedDate = $carbonDate->format( 'l,M j ,Y ,g:i a', ); echo $formattedDate; @endphp @endif @endif
@endif{{ $normal_order_Status->assigned_order_status_name }}
@if ($order->booking_time != null) @php $carbonDate = Carbon\Carbon::createFromTimestamp( $order->booking_time, ); $formattedDate = $carbonDate->format( 'l,M j ,Y ,g:i a', ); echo $formattedDate; @endphp @endif
@elseif($normal_order_Status->order_status->name == 'cancelled'){{ $normal_order_Status->assigned_order_status_name }}
@if ($order->cancel_time != null) @php $carbonDate = Carbon\Carbon::createFromTimestamp( $order->cancel_time, ); $formattedDate = $carbonDate->format( 'l,M j ,Y ,g:i a', ); echo $formattedDate; @endphp @endif
@endif{{ $normal_order_Status->assigned_order_status_name }}
@if ($order->time != null) @if ($order->time->allot_time) @php $carbonDate = Carbon\Carbon::parse( $order->time->allot_time, ); $formattedDate = $carbonDate->format( 'l,M j ,Y ,g:i a', ); echo $formattedDate; @endphp @endif @endif
@elseif($normal_order_Status->order_status->name == 'pickup_shop_reached'){{ $normal_order_Status->assigned_order_status_name }}
@if ($order->time != null) @if ($order->time->arrival_time) @php $carbonDate = Carbon\Carbon::parse( $order->time->arrival_time, ); $formattedDate = $carbonDate->format( 'l,M j ,Y ,g:i a', ); echo $formattedDate; @endphp @endif @endif
@elseif($normal_order_Status->order_status->name == 'delivery_location_reached'){{ $normal_order_Status->assigned_order_status_name }}
@if ($order->time != null) @if ($order->time->customer_doorstep_arrival_time) @php $carbonDate = Carbon\Carbon::parse( $order->time ->customer_doorstep_arrival_time, ); $formattedDate = $carbonDate->format( 'l,M j ,Y ,g:i a', ); echo $formattedDate; @endphp @endif @endif
@elseif($normal_order_Status->order_status->name == 'delivered'){{ $normal_order_Status->assigned_order_status_name }}
@if ($order->time != null) @if ($order->time->delivery_time) @php $carbonDate = Carbon\Carbon::parse( $order->time->delivery_time, ); $formattedDate = $carbonDate->format( 'l,M j ,Y ,g:i a', ); echo $formattedDate; @endphp @endif @endif
@endif