{{ session('CompanyAddress') ?? 'Company Address' }}
{{ session('CompanyPhone') ?? 'Phone: +254 XXX XXX XXX' }}
{{ session('CompanyEmail') ?? 'Email: info@company.com' }}
Bill ID: {{ $bill->BillID }}
Status: {{ $bill->BillStatus ?? 'OPEN' }}
Billing Date: {{ $bill->BillingDate ? \Carbon\Carbon::parse($bill->BillingDate)->format('M d, Y') : 'N/A' }}
@if($bill->DueDate)Due Date: {{ \Carbon\Carbon::parse($bill->DueDate)->format('M d, Y') }}
@endifName: {{ $customer->CustomerName ?? 'N/A' }}
Account No: {{ $customer->AccountNo ?? 'N/A' }}
Phone: {{ $customer->TelNo ?? 'N/A' }}
Email: {{ $customer->Email ?? 'N/A' }}
Unit: {{ $bill->unit->UnitIdentity ?? 'N/A' }}
Property: {{ $bill->unit->property->PropName ?? 'N/A' }}
Billing Period: @if($bill->BillingPeriod) {{ \Carbon\Carbon::createFromFormat('Ym', $bill->BillingPeriod)->format('F Y') }} @else N/A @endif
| Description | Quantity | Unit Price | Amount |
|---|---|---|---|
| {{ $line->ItemName }} | {{ number_format($line->Units, 2) }} | {{ number_format($line->UnitPrice, 2) }} | {{ number_format($line->LineAmount, 2) }} |
| No line items found for this bill. | |||