{{ config('app.url') }}

{{ __('Business Address') }}

{{ __($generaleSetting?->address) }}

{{ $generaleSetting?->mobile }}

{{ __('Payment Receipt') }}

@php $payment = $order->payments()?->latest()->first(); $transactionId = $payment?->payment_token ?? str_pad($order->id, 6, '0', STR_PAD_LEFT); $user = $order->customer?->user; @endphp

Payment Details

Payment Method: {{ $order->payment_method->value }}
Transaction ID: {{ $transactionId }}
Payment Status: {{ $order->payment_status->value }}
@if ($order->payment_status->value != 'Paid') @endif
Paid Amount: {{ $order->payment_status->value == 'Paid' ? showCurrency($order->payable_amount) : showCurrency(0) }}
Due Amount: {{ showCurrency($order->payable_amount) }}

Customer Details

Name: {{ $user?->name }} Email: {{ $user?->email ?? '-' }} Phone: {{ $user?->phone ?? '-' }}

Order Summary

Order ID: #{{ $order->prefix . $order->order_code }} Order Date: {{ $order->created_at->format('F d, Y') }} Status: {{ $order->payment_status->value }}
@foreach ($order->products ?? [] as $product) @endforeach @if ($order->coupon_discount > 0) @endif @foreach ($order->vatTaxes ?? [] as $vatTax) @endforeach @if ($order->tax_amount > 0 && count($order->vatTaxes ?? []) <= 0) @endif
Item Quantity Price Total
{{ $product->name }} {{ $product->pivot->quantity }} {{ showCurrency($product->pivot->price) }} {{ showCurrency($product->pivot->quantity * $product->pivot->price) }}
Subtotal {{ showCurrency($order->total_amount) }}
Shipping {{ showCurrency($order->delivery_charge) }}
Discount {{ showCurrency($order->coupon_discount) }}
{{ $vatTax->name . '(' . $vatTax->percentage . '%)' }} {{ showCurrency($vatTax->amount) }}
Total Tax Amount {{ showCurrency($order->tax_amount) }}
Grand Total {{ showCurrency($order->payable_amount) }}