{{ $company->name }}

{{ $company->address ?: 'Business address' }}

{{ $company->email }} {{ $company->phone }}

Invoice

{{ $invoice->invoice_number }}

{{ ucfirst($invoice->status) }}

Bill To

{{ $invoice->customer?->name ?: 'Walk-in customer' }}

{{ $invoice->customer?->email }}

{{ $invoice->customer?->phone }}

Dates

Issue: {{ optional($invoice->issue_date)->format('Y-m-d') }}

Due: {{ optional($invoice->due_date)->format('Y-m-d') ?: 'N/A' }}

@foreach ($invoice->items as $item) @endforeach
Item Qty Price Tax Discount Total
{{ $item->description }} {{ number_format((float) $item->quantity, 2) }} BDT {{ number_format((float) $item->unit_price, 2) }} BDT {{ number_format((float) $item->tax_amount, 2) }} BDT {{ number_format((float) $item->discount_amount, 2) }} BDT {{ number_format((float) $item->line_total, 2) }}
SubtotalBDT {{ number_format((float) $invoice->subtotal, 2) }}
TaxBDT {{ number_format((float) $invoice->tax_total, 2) }}
DiscountBDT {{ number_format((float) $invoice->discount_total, 2) }}
TotalBDT {{ number_format((float) $invoice->total, 2) }}
PaidBDT {{ number_format((float) $invoice->paid_total, 2) }}
DueBDT {{ number_format((float) $invoice->due_total, 2) }}
@if ($invoice->notes)

Notes

{{ $invoice->notes }}

@endif