@extends('layout.app') @section('content')
Your order {{ $order->order_number }} has been placed successfully and is now being processed.
@if($order->email)A confirmation will be sent to {{ $order->email }}
@else @endif Back To HomeOrder ID
#{{ $order->order_number }}Order Status
@php [$sc, $bg, $sl] = match($order->status) { 'pending' => ['text-warning-dark', 'bg-[rgba(255,193,7,0.16)]', 'Pending'], 'processing' => ['text-warning-dark', 'bg-[rgba(255,193,7,0.16)]', 'Processing'], 'shipped' => ['text-info', 'bg-[rgba(0,184,217,0.16)]', 'Shipped'], 'delivered' => ['text-success', 'bg-[rgba(0,171,85,0.16)]', 'Delivered'], 'cancelled' => ['text-error', 'bg-[rgba(255,72,66,0.16)]', 'Cancelled'], 'failed' => ['text-error', 'bg-[rgba(255,72,66,0.16)]', 'Failed'], default => ['text-gray-500', 'bg-gray-100', ucfirst($order->status)], }; @endphp {{ $sl }}Payment Method
{{ $order->payment_method === 'stripe' ? 'Credit / Debit Card (Stripe)' : 'Cash on Delivery' }}Payment Status
@php [$pc, $pb, $pl] = match($order->payment_status) { 'paid' => ['text-success', 'bg-[rgba(0,171,85,0.16)]', 'Paid'], 'pending' => ['text-warning-dark', 'bg-[rgba(255,193,7,0.16)]', 'Pending'], 'failed' => ['text-error', 'bg-[rgba(255,72,66,0.16)]', 'Failed'], 'refunded' => ['text-info', 'bg-[rgba(0,184,217,0.16)]', 'Refunded'], default => ['text-gray-500', 'bg-gray-100', ucfirst($order->payment_status)], }; @endphp {{ $pl }}Amount Payable
${{ number_format($order->total, 2) }} @if($order->payment_status === 'paid') (Paid) @endif
Order Date
{{ $order->created_at->format('h:i A, d F, Y') }}|
|
{{ $item->product_name }} {{ $item->quantity }}x @if($item->size) · {{ $item->size }} @endif @if($item->color) · {{ $item->color }} @endif ${{ number_format($item->line_total, 2) }} |
Sub-Total ${{ number_format($order->subtotal, 2) }}
Shipment ${{ number_format($order->shipping, 2) }}
Tax ${{ number_format($order->tax, 2) }}
Enjoy the Convenience of Free Shipping on Every Order
Round-the-Clock Assistance, Anytime You Need It
Your Satisfaction is Our Priority: Return Any Product Within 30 Days
Seamless Shopping Backed by Safe and Secure Payment Options