@extends('layouts.app') @section('content')
VAT Summary Report
Billing Period: {{ $vatSummary['period_text'] ?? 'N/A' }}
Report Date: {{ $vatSummary['billing_date'] ?? now()->format('d-m-Y') }}
Total Bills: {{ $vatSummary['bill_count'] ?? 0 }}
| # | Account No | Court | Customer Name | Cons.(Kwh) | Vatable Amount | Non-VATable | VAT (16%) | Total Amount |
|---|---|---|---|---|---|---|---|---|
| {{ $index + 1 }} | {{ $customer['account_no'] ?? 'N/A' }} | {{ $customer['address1'] ?? 'N/A' }} | {{ $customer['customer_name'] ?? 'N/A' }} | {{ number_format($customer['consumption'] ?? 0, 2) }} | {{ number_format($customer['vatable_amount'], 2) }} | {{ number_format($customer['non_vatable_amount'] ?? 0, 2) }} | {{ number_format($customer['vat_amount'], 2) }} | {{ number_format($customer['total_amount'], 2) }} |
| No customer data available | ||||||||
| TOTALS | {{ number_format($vatSummary['total_vatable'] ?? 0, 2) }} | {{ number_format($vatSummary['total_non_vatable'] ?? 0, 2) }} | {{ number_format($vatSummary['total_vat'] ?? 0, 2) }} | {{ number_format($vatSummary['total_invoice'] ?? 0, 2) }} | ||||