@extends('user.layouts.master') @section('title','Order Detail') @section('main-content')
| S.N. | Order No. | Name | Charge | Total Amount | Status | Action | |
|---|---|---|---|---|---|---|---|
| {{ $order->id }} | {{ $order->order_number }} | {{ $order->first_name }} {{ $order->last_name }} | {{ $order->email }} | Rs{{ optional($order->shipping)->price ?? '0.00' }} | Rs{{ number_format($order->total_amount,2) }} | @if($order->status=='new') {{ $order->status }} @elseif($order->status=='process') {{ $order->status }} @elseif($order->status=='delivered') {{ $order->status }} @else {{ $order->status }} @endif |
| Order Number | : {{ $order->order_number }} |
| Order Date | : {{ $order->created_at->format('D d M, Y') }} at {{ $order->created_at->format('g : i a') }} |
| Products | : @foreach($order->cart_info as $item) {{ $item->product->title ?? 'Deleted Product' }} ( Size: {{ $item->size ?? 'N/A' }}) @if (!$loop->last), @endif @endforeach |
| Total Quantity | : {{ $order->quantity }} |
| Order Status | : {{ $order->status }} |
| Shipping Charge | : Rs{{ optional($order->shipping)->price ?? '0.00' }} |
| Total Amount | : Rs{{ number_format($order->total_amount,2) }} |
| Payment Method | : @if($order->payment_method=='cod') Cash on Delivery @else Paypal @endif |
| Payment Status | : {{ $order->payment_status }} |
| Full Name | : {{ $order->first_name }} {{ $order->last_name }} |
| : {{ $order->email }} | |
| Phone No. | : {{ $order->phone }} |
| Address | : {{ $order->address1 }}, {{ $order->address2 }} |
| Country | : {{ $order->country }} |
| Post Code | : {{ $order->post_code }} |