@extends('layouts.app') @section('content') Billed Variance Report
{{ $company->CompanyName ?? 'Company Name' }}
{{ $company->Address1 ?? '' }}{{ isset($company->Address2) ? ', ' . $company->Address2 : '' }}
@if($company->TelNo) Tel: {{ $company->TelNo }}
@endif @if($company->Email) Email: {{ $company->Email }} @endif

Billed Variance Report (Electricity Charges)
Period: {{ $period }}
@foreach($lineItems as $lineId => $lineItem) @endforeach @foreach($lineItems as $lineId => $lineItem) @endforeach @foreach($lineItems as $lineId => $lineItem) @endforeach @foreach($lineItems as $lineId => $lineItem) @endforeach @foreach($lineItems as $lineId => $lineItem) @endforeach @foreach($lineItems as $lineId => $lineItem) @endforeach @foreach($lineItems as $lineId => $lineItem) @endforeach
Cons. (Kwh){{ $lineId }}. {{ $lineItem['description'] }}Total
KPLC Bill {{ $invoiceNo ?? ($bulkInvoiceId ?? 'N/A') }} 0.00{{ number_format($kplcBill[$lineId] ?? 0, 2) }}{{ number_format($kplcBill['total'] ?? 0, 2) }}
Total Billing - {{ $period }} 0.00{{ number_format($totalBilling[$lineId] ?? 0, 2) }}{{ number_format($totalBilling['total'] ?? 0, 2) }}
Variance between KPLC Bill and Billing 0.00{{ number_format($variance[$lineId] ?? 0, 2) }}{{ number_format($variance['total'] ?? 0, 2) }}
KPLC Bill {{ $invoiceNo ?? 'N/A' }} {{ number_format($kwhValues['kplc_kwh'] ?? 0, 2) }}0.00{{ number_format($kwhValues['kplc_kwh'] ?? 0, 2) }}
Total Billing - {{ $period }} {{ number_format($kwhValues['total_billing_kwh'] ?? 0, 2) }}0.00{{ number_format($kwhValues['total_billing_kwh'] ?? 0, 2) }}
Variance between KPLC Bill and Billing {{ number_format($kwhValues['variance_kwh'] ?? 0, 2) }}0.00{{ number_format($kwhValues['variance_kwh'] ?? 0, 2) }}
@endsection()