System Date-Time Generated: {{ \Carbon\Carbon::now()->format('M d, Y g:i A') }}

{{ strtoupper(session('company_name')) }}

{{ strtoupper(session('branch_name')) }}

Water Rates Simulation Summary

ACCOUNT CLASS: {{ isset($acct_class) ? strtoupper($acct_class) : '' }}

@if (!empty($message))
  {{ $message }}
@endif @foreach ($bills as $b) @endforeach
ACCT CLASS CUSTOMERS TOTAL CUM BASIC SIMULATED VARIANCE
{{ $b->acct_class }} {{ number_format($b->count, 0) }} {{ number_format($b->total_cum, 0) }} {{ number_format($b->basic, 2) }} {{ number_format($b->simulated, 2) }} {{ number_format($b->simulated - $b->basic, 2) }}
TOTAL {{ number_format($total['count'], 0) }} {{ number_format($total['cum'], 0) }} {{ number_format($total['basic'], 2) }} {{ number_format($total['simulated'], 2) }} {{ number_format($total['variance'], 2) }}

@if (!empty($headers) && $headers->count() > 0) @foreach ($headers as $h)
@if (!empty($details) && $details->count() > 0) @foreach ($details->where('header_id', $h->id) as $d) @endforeach @endif
RANGE FROM RANGE TO RATE TYPE AMOUNT
{{ $d->from }} {{ $d->to }} @if ($d->type == 'm') MINIMUM @elseif ($d->type == 'r') REGULAR @endif {{ $d->amount }}
@endforeach @endif