#{{ $order->order_number }} {{-- Payment Status --}} @if($order->payment_status == 'success') Paid @elseif($order->payment_status == 'pending') Pending @elseif($order->payment_status == 'failed') Failed @endif {{-- Order Status --}} {{ ucfirst($order->status) }}
Order Date: {{ \Carbon\Carbon::parse($order->created_at)->format('d M Y h:i A') }}
Progress
{{ ucfirst($stage) }}
Products
| Product | Sample ? | Qty | Price | Total |
|---|---|---|---|---|
{{ $item->product_name }} {{-- Variant SKU and Sample --}} @if($item->variant) SKU: {{ $item->variant->sku ?? '-' }} @endif {{-- Master catalog name & code --}} @if($item->product) CATALOG: {{ $item->product->master_catalogue_name ?? '-' }} ({{ $item->product->master_catalogue_code ?? '-' }}) @endif |
{{ $item->is_sample == 1 ? 'Sample Purchase' : 'Not Sample' }} | {{ $item->quantity }} | ₹ {{ number_format($item->price,2) }} | ₹ {{ number_format($item->total,2) }} |
Order Timeline
{{ $history->status }}
@if($history->note){{ $history->note }}
@endif {{-- Optional: Buttons / actions based on status --}} @if(Str::contains(strtolower($history->status), 'invoice')) Resend Invoice @endif{{ \Carbon\Carbon::parse($history->created_at)->format('d M Y, h:i A') }}
Order Summary
|
|
₹ {{ number_format($order->sub_total, 2) }} |
|
|
₹ {{ number_format($order->discount, 2) }} |
|
|
₹ {{ number_format($order->delivery_fee, 2) }} |
|
|
₹ {{ number_format($order->total_amount, 2) }} |
Payment
Method : {{ $order->payment_method }}
Status : @if($order->payment_status=='paid') Paid @else Pending @endif
{{-- Razorpay Details --}} @if($order->razorpay_order_id)Razorpay Order ID: {{ $order->razorpay_order_id }}
Razorpay Payment ID: {{ $order->razorpay_payment_id }}
Razorpay Signature: {{ $order->razorpay_signature }}
@endif {{-- Coupon --}} @if($order->coupon_code)Coupon Applied: {{ $order->coupon_code }}
@endifShipping Address
{{ $order->shippingAddress->name }}
{{ $order->shippingAddress->address_line1 }}
{{ $order->shippingAddress->city }}, {{ $order->shippingAddress->state }}
{{ $order->shippingAddress->phone }}
@endifBilling Address
{{ $order->billingAddress->name }}
{{ $order->billingAddress->address_line1 }}
{{ $order->billingAddress->city }}, {{ $order->billingAddress->state }}
{{ $order->billingAddress->phone }}
@endifCourier
{{ $order->courier->name }}
Tracking ID : {{ $order->tracking_id }}
@if($order->courier->website) Track Shipment @endif