| Invoice ID | #{{ $order->order_number }} |
| Date | {{ $order->created_at->format('d/m/Y') }} |
| Paid Date | {{ $order->paid_at->format('d/m/Y') }} |
| Status | {{ ucfirst($order->payment_status) }} |
| Payment Method | {{ $order->payment_method ? ucfirst($order->payment_method) : 'N/A' }} |
@if (isset($order->billing_address['address']) && $order->billing_address['address']) {{ $order->billing_address['address'] ?? '' }}, @endif @if (isset($order->billing_address['city']) && $order->billing_address['city']) {{ $order->billing_address['city'] ?? '' }}, @endif @if (isset($order->billing_address['state']) && $order->billing_address['state']) {{ $order->billing_address['state'] ?? '' }}, @endif @if (isset($order->billing_address['country']) && $order->billing_address['country']) {{ $order->billing_address['country'] ?? '' }} - @endif @if (isset($order->billing_address['zip_code']) && $order->billing_address['zip_code']) {{ $order->billing_address['zip_code'] ?? '' }} @endif
Email: {{ $order->user->email }}
@if (isset($order->billing_address['phone']))
Phone: {{ $order->billing_address['phone'] }}
@endif
@if (isset($order->shipping_address['address']) && $order->shipping_address['address']) {{ $order->shipping_address['address'] ?? '' }}, @endif @if (isset($order->shipping_address['city']) && $order->shipping_address['city']) {{ $order->shipping_address['city'] ?? '' }}, @endif @if (isset($order->shipping_address['state']) && $order->shipping_address['state']) {{ $order->shipping_address['state'] ?? '' }}, @endif @if (isset($order->shipping_address['country']) && $order->shipping_address['country']) {{ $order->shipping_address['country'] ?? '' }} - @endif @if (isset($order->shipping_address['zip_code']) && $order->shipping_address['zip_code']) {{ $order->shipping_address['zip_code'] ?? '' }} @endif
@if (isset($order->shipping_address['phone']))Phone: {{ $order->shipping_address['phone'] }}
@endif| Product Name | Qty | Price | Total |
|---|---|---|---|
|
{{ $item->product_name }}
@if ($item->product_sku)
SKU: {{ $item->product_sku ?? '' }}
@endif
|
{{ $item->quantity }} | {{ $order->currency }}{{ number_format($item->final_price, 2) }} | {{ $order->currency }}{{ number_format($item->total_price, 2) }} |
| Sub Total | {{ $order->currency }}{{ number_format($order->subtotal, 2) }} |
| Discount ({{ $order->discount_percentage }}%) | -{{ $order->currency }}{{ number_format($order->discount_amount, 2) }} |
| VAT ({{ $order->tax_percentage }}%) | {{ $order->currency }}{{ number_format($order->tax_amount, 2) }} |
| Shipping | {{ $order->currency }}{{ number_format($order->shipping_amount, 2) }} |
| Total | {{ $order->currency }}{{ number_format($order->total_amount, 2) }} |
{{ $order->notes }}