@php $order = isset($order) ? $order : null; $orderId = request()->get('order_id', $order?->id); $paymentMethod = $order?->payment_method ?? request()->get('payment_method', 'Cash on Delivery'); $dateTime = $order?->created_at ? $order->created_at->format('d/m/y H:i') : now()->format('d/m/y H:i'); $totalAmount = $order?->total_price ?? request()->get('total', 0); @endphp
{{-- Success Icon --}}
{{-- Title --}}
Your order has been successfully submitted
{{-- Order Details --}}
Order ID
{{ $orderId }}
Payment Method
{{ $paymentMethod }}
Date & Time
{{ $dateTime }}
Total
৳ {{ number_format($totalAmount) }}
{{-- Invoice Download --}} @if($orderId)
Download Invoice
@endif {{-- Action Button --}}
Go to my account
{{-- Contact --}}
Need help? Call us
01795469462