INVOICE
| Invoice # | {{ $invoice->invoice_number }} | Invoice Date | {{ $invoice->created_at->format('d M Y') }} |
| Order # | {{ $order->order_number }} | Payment Mode | {{ strtoupper($invoice->payment_mode) }} |
| Payment Status | {{ strtoupper($invoice->status) }} | ||
| Transaction ID | {{ $transaction->gateway_transaction_id }} | ||
| Name | {{ $customer->first_name }} {{ $customer->last_name }} |
| {{ $customer->email }} | |
| Phone | {{ $order->billing_details['phone'] ?? '-' }} |
| Address | {{ $order->billing_details['address'] ?? '' }}, {{ $order->billing_details['state'] ?? '' }}, {{ $order->billing_details['country'] ?? '' }} - {{ $order->billing_details['zip'] ?? '' }} |
| Name | {{ $order->shipping_details['firstName'] ?? '' }} {{ $order->shipping_details['lastName'] ?? '' }} |
| Address | {{ $order->shipping_details['address'] ?? '' }}, {{ $order->shipping_details['state'] ?? '' }}, {{ $order->shipping_details['country'] ?? '' }} - {{ $order->shipping_details['zip'] ?? '' }} |
| Description | Price | Qty | Total |
|---|---|---|---|
|
{{ 'Course Code: ' . $item->course->course_code ?? 'Course' }}
@if ($item->assignment_id)
{{ 'Assignment Code: ' . $item->assignment->assignment_code }} @elseif($item->project_id) {{ 'Project Code: ' . $item->project->project_code }} @endif |
{{ number_format($item->price, 2) }} | {{ $item->quantity }} | {{ number_format($item->total, 2) }} |
| Subtotal | {{ number_format($order->subtotal, 2) }} |
| Total | {{ number_format($invoice->amount, 2) }} {{ $invoice->currency }} |