| @include('pdf.partials.company-letterhead') | BILL OF MATERIALS{{ $bill->bom_number }}{{ strtoupper($bill->status) }} |
| Customer | {{ $bill->customer->name }} | Issued | {{ $bill->issued_at->format('d M Y') }} |
| Project | {{ $bill->project_title }} | Valid until | {{ $bill->valid_until?->format('d M Y') ?: 'Not specified' }} |
| Location | {{ $bill->project_location ?: 'Not specified' }} | Reference | {{ $bill->customer_reference ?: $bill->customer->customer_number }} |
| Item | Description | Qty | Unit | Rate | VAT | Amount |
|---|---|---|---|---|---|---|
| {{ $loop->iteration }}. {{ $section->title }} | ||||||
| {{ $item->item_code ?: $loop->iteration }} | {{ $item->description }} | {{ number_format((float)$item->quantity,4) }} | {{ strtoupper(str_replace('_',' ',$item->unit)) }} | {{ number_format((float)$item->unit_rate,2) }} | {{ number_format((float)$item->tax_rate,0) }}% | {{ number_format((float)$item->amount,2) }} |
| Subtotal | KES {{ number_format((float)$bill->subtotal,2) }} |
| VAT | KES {{ number_format((float)$bill->vat_amount,2) }} |
| TOTAL | KES {{ number_format((float)$bill->total_amount,2) }} |
{{ $bill->terms }}