@include('layouts.header')
@include('myAccount.myAccount_sidebar')

Orders Details of {{ $order_id }}

{{-- Delivery Address --}}
Delivery Address

{{ $address_details->first_name }} {{ $address_details->last_name }}

{{ $address_details->email }}
{{ $address_details->mobile }}
{{ $address_details->address }}
{{ $address_details->state }}
{{ $address_details->city }}
{{ $address_details->zipcode }}

{{-- Uthhan Customer --}}
Uthhan Customer

Sub Total: ₹ {{ $sub_total }}
Delivery Charges: ₹ {{ $delivery_charges }}
COD Charges: ₹ {{ $cod }}

@if ($coupon !== null)

Grand Total: ₹ {{ round(($cod + $delivery_charges + $sub_total) - ($sub_total * 10 / 100)) }}

@else

Grand Total: ₹ {{ $cod + $delivery_charges + $sub_total }}

@endif

Thank You for shopping with Us!

{{-- Download Invoice --}}
Download Invoice
@php $link = url('/UthhanInvoice/generatePDF/'); @endphp Download
@if ($fetch_order_details != null) @foreach ($fetch_order_details as $details)
@if (strlen($details->product_name))

{{ $details->product_name }}
@else

{{ substr($details->product_name, 0, 15) }}....
@endif {{ $details->product_category }}
Qty - {{ $details->product_quantity }}
Color - {{ $details->product_new_color }}
Price - ₹ {{ $details->product_price }}
SubTotal - ₹ {{ $details->product_price * $details->product_quantity }}

Order Progress

@if ($address_details->payment_type == 'upi') @if ($details->success == 'PaymentDone✅')
✅Pending
✅Payment Received
Out For Delivery
Delivered
@elseif ($details->success == 'pending🕓' || $details->success == '')
✅Pending
Out For Delivery
Delivered
@elseif ($details->success == 'In Progress☛')
✅Pending
✅Out For Delivery
Delivered
@elseif ($details->success == 'success✅' || $details->success == 'Delivered 🗹')
✅Pending
✅Out For Delivery
✅Delivered
@else
This Product has been Cancelled
@endif @else @if ($details->success == 'pending🕓' || $details->success == '')
✅Pending
Out For Delivery
Delivered
@elseif ($details->success == 'In Progress☛')
✅Pending
✅Out For Delivery
✅Delivered
@elseif ($details->success == 'success✅' || $details->success == 'Delivered 🗹')
✅Pending
✅Out For Delivery
✅Delivered
@else
This Product has been Cancelled
@endif @endif

Delivery Status: {!! $details->success !!}
@if(!empty($details->cancel_rejected_reason)) Uthhan Remarks: {{ ucwords(strtolower($details->cancel_rejected_reason)) }} @endif

@php $date = date('Y-m-d'); $order_date = $details->created_on; $date1 = new DateTime($date); $date2 = new DateTime($order_date); $interval = date_diff($date2, $date1); $diff = $interval->format('%a'); @endphp @if ($details->success == 'pending🕓' || $details->success == '') @if ($details->cancel_status != "Product cancellation Pending" && $details->cancel_status != "Product cancellation Approved" && $details->cancel_status != "Product cancellation Rejected") @if ($diff <= 1)
@endif @endif @endif

@if ($details->success == 'pending🕓' || $details->success == '') @if ($details->cancel_status == "Product cancellation Pending") Product Cancellation is Pending from Admin @elseif ($details->cancel_status == "Product cancellation Approved") Product Cancellation is Approved from Admin @elseif ($details->cancel_status == "Product cancellation Rejected") Product Cancellation is Rejected from Admin Reason: {{ $details->cancel_rejected_reason }} @else Expected delivery within 9-12 Days @endif @elseif ($details->success == 'In Progress☛') Expected delivery within 9-12 Days @elseif ($details->success == 'success✅' || $details->success = "Delivered 🗹") @endif
@endforeach @endif
@include('layouts.footer')
@include('layouts.sticky-footer') @include('layouts.mobile-menu')