Logo

{{ $appName }}

{{ __('messages.user.user_details') }}

{{ __('messages.common.name') }}: {{ $nfcOrder->name ?? 'N/A' }}
{{ __('messages.common.email') }}: {{ $nfcOrder->email ?? 'N/A' }}
{{ __('messages.common.phone') }}: {{ $nfcOrder->region_code ? '+' . $nfcOrder->region_code . ' ' : '' }}{{ $nfcOrder->phone }}
{{ __('messages.user.address') }}: {{ $nfcOrder->address ?? 'N/A' }}

{{ __('messages.nfc.payment_details') }}

{{ __('messages.nfc.paid_amount') }}: {{ $nfcOrder->nfcTransaction->amount ?? '0' }}
{{ __('messages.nfc.paid_on') }}: {{ $nfcOrder->created_at->format('d/m/Y') }}
{{ __('messages.payment_type') }}: {{ $nfcOrder->nfcTransaction ? ucfirst(\App\Models\NfcOrders::PAYMENT_TYPE_ARR[$nfcOrder->nfcTransaction->type] ?? 'N/A') : __('messages.placeholder.payment_failed') }}
{{ __('messages.nfc.transaction_id') }}: {{ $nfcOrder->nfcTransaction->transaction_id ?? 'N/A' }}
{{-- Card Details --}}

{{ __('messages.whatsapp_stores.order_details') }}

{{ __('messages.nfc.item') }} {{ __('messages.common.price') }} {{ __('messages.whatsapp_stores_templates.quantity') }} {{ __('messages.nfc.total') }}
{{ $nfcOrder->nfcCard->name ?? 'N/A' }} {{ $nfcOrder->nfcCard->price ?? 0 }} {{ $nfcOrder->quantity ?? 1 }} {{ number_format($nfcOrder->nfcCard->price * $nfcOrder->quantity, 2) ?? 0 }}
{{ __('messages.nfc.subtotal') }} {{ number_format($nfcOrder->nfcCard->price * $nfcOrder->quantity, 2) }}
{{ __('messages.nfc.tax') }} ({{ $nfcOrder->nfcTransaction->tax ?? 0 }}%) {{ number_format(($nfcOrder->nfcCard->price * $nfcOrder->quantity * ($nfcOrder->nfcTransaction->tax ?? 0)) / 100, 2) }}
{{ __('messages.whatsapp_stores.grand_total') }} {{ $nfcOrder->nfcTransaction->amount ?? '0' }}