Exciting news! Your recent order (#[Order ID number]) has been shipped and is speeding its way to your doorstep!
Order Details
@php
$subtotal = 0;
@endphp
@foreach ($items as $item)
@php
$symbol = match($user->default_currency) {
'USD' => '$',
'NGN' => '₦',
default => $user->default_currency,
};
$price = currencyConvert($item['currency'], $item['price'], $user->default_currency);
$subtotal += $price * $item['quantity'];
@endphp
{{ $item['product_name'] }}
{{ $symbol }}{{ number_format($price, 2) }}
QTY: {{ $item['quantity'] }}
@endforeach
@php
$itemCurrency = $items[0]['currency'] ?? 'USD';
$symbol = match($itemCurrency) {
'USD' => '$',
'NGN' => '₦',
default => $itemCurrency,
};
@endphp
Subtotal
{{ $symbol }}{{ number_format($subtotal) }}
Tax
{{ $symbol }}00.00
Shipping
{{ $symbol }}00.00
Total
{{ $symbol }}{{ number_format($totalAmount) }}
Additional Information:
• Manage your order details and view invoices anytime by logging into your account on our website.
• For any questions about your order, contact our customer service team at +88015-88888-9999 or by phone at +88015-88888-9999.