Dach Construction LtdConstruction ERP · Lilongwe, Malawi contact@dach.test · +265 999 000 111 |
Tax Invoice{{ $invoice->invoice_number }} Status: {{ $invoice->status }} Invoice date: {{ $invoice->invoice_date?->format('M j, Y') }} Due date: {{ $invoice->due_date?->format('M j, Y') }} |
Bill to: {{ $invoice->client?->company_name }}
Contact: {{ $invoice->client?->contact_person ?? '—' }}
Phone: {{ $invoice->client?->phone ?? '—' }} · Email: {{ $invoice->client?->email ?? '—' }}
TIN: {{ $invoice->client?->tin_number ?? '—' }}
@if($invoice->project)Project: {{ $invoice->project->name }}
@if($invoice->project->description)Location / scope: {{ \Illuminate\Support\Str::limit($invoice->project->description, 200) }}
@endif @endifMRA fiscal code: {{ $invoice->mra_fiscal_code ?? 'Not fiscalised' }}
Fiscalised: {{ $invoice->fiscalised_at?->format('Y-m-d H:i') ?? '—' }}
Description: {{ $invoice->description }}
@endif| Description | Qty | Unit rate | Total |
|---|---|---|---|
| {{ $item->description }} | {{ rtrim(rtrim((string) $item->quantity, '0'), '.') }} | {{ number_format((float) $item->unit_rate, 2, '.', ',') }} | {{ number_format((float) $item->total, 2, '.', ',') }} |
| Subtotal (MWK) | {{ number_format((float) $invoice->amount, 2, '.', ',') }} |
| VAT (MWK) | {{ number_format((float) $invoice->vat_amount, 2, '.', ',') }} |
| Total (MWK) | {{ number_format((float) $invoice->total_amount, 2, '.', ',') }} |
| Paid (MWK) | {{ number_format((float) ($invoice->paid_amount ?? 0), 2, '.', ',') }} |
| Balance due (MWK) | {{ number_format((float) ($invoice->balance_due ?? max(0, (float) $invoice->total_amount - (float) ($invoice->paid_amount ?? 0))), 2, '.', ',') }} |