@extends('layouts.sidebar') @section('content')
Period Covered: | @php $startDate = \Carbon\Carbon::parse($cl->start_date); $endDate = \Carbon\Carbon::parse($cl->end_date); $payOnDate = $endDate->copy()->addMonth()->startOfMonth()->day(8); @endphp {{ $startDate->format('d-M-y') }} - {{ $endDate->format('d-M-y') }} |
Name: | {{ $cl->billing->lease->client->owners_name }} |
Unit No: | {{ $cl->billing->lease->property->property_name }}, {{ $cl->billing->lease->unit->unit_name }} |
Previous Reading: | {{ $cl->previous_reading }} |
Present Reading: | {{ $cl->present_reading }} |
KWH Used: | {{ $cl->consumption }} |
Multiply by Rate: | {{ $cl->rate }} |
Sub Total: | {{ $cl->amount }} |
Additional Charge (pro-rated based on gen loss) : | {{ number_format($losses, 2) }} |
TOTAL BILL: | {{ $roundedTotal }} |
Please pay on: | {{ $payOnDate->format('d-M-y') }} |