@extends('layouts.app') @section('page-title', $pageTitle) @section('content')
{{ __tr('Your order has been confirmed and will be processed shortly.') }}
{{ __tr('Order ID') }}: {{ $order->order_id }}
{{ __tr('Status') }}: {{ ucfirst($order->status) }}
{{ __tr('Total Amount') }}: {{ $order->currency }} {{ number_format($order->total_amount, 2) }}
{{ __tr('Customer') }}: {{ $order->customer_name ?: $order->customer_phone }}
@if($order->delivery_address){{ __tr('Delivery Address') }}:
{{ $order->delivery_address }}
{{ __tr('Payment ID') }}: {{ $payment->payment_id }}
{{ __tr('Amount') }}: {{ $payment->currency }} {{ number_format($payment->amount, 2) }}
{{ __tr('Status') }}: {{ ucfirst($payment->status) }}
{{ __tr('Gateway') }}: {{ $payment->gateway_label }}
@if($payment->payment_completed_at){{ __tr('Completed At') }}: {{ $payment->payment_completed_at->format('M d, Y H:i') }}
@endif| {{ __tr('Item') }} | {{ __tr('Quantity') }} | {{ __tr('Price') }} | {{ __tr('Total') }} |
|---|---|---|---|
| {{ $item['display_name'] ?? __tr('Product Item') }} | {{ $item['quantity'] ?? 1 }} | {{ $order->currency }} {{ number_format($item['item_price'] ?? 0, 2) }} | {{ $order->currency }} {{ number_format(($item['item_price'] ?? 0) * ($item['quantity'] ?? 1), 2) }} |
{{ __tr('Your payment was successful, but we could not find the order details.') }}
{{ __tr('Please contact support if you have any questions.') }}
@if($orderId){{ __tr('Reference ID') }}:
{{ $orderId }}
{{ __tr('Payment ID') }}: {{ $paymentId }}
@endif