@include('header')

Receipt No:{{'#RCT'.$receipt->receiptId}}

Date: {{ date("d-m-Y", strtotime($receipt->paymentDate))}}
House:{{$receipt->houseName}}
House Unit:{{$receipt->unitName}}
@if($tenant!=null)
Tenant Name: {{$tenant->tenantName}}
Phone Number:{{$tenant->phoneNumber}}
@endif
Payments for:
@php($count=1) @php($sumTotal=0) @foreach($payments as $payment) @php($count++) @php($sumTotal+=$payment->paidAmount) @endforeach @foreach($partialPayments as $payment) @php($count++) @php($sumTotal+=$payment->amountPaid) @endforeach
No. Charge Prev. reading Curr. reading Amount
{{$count}} {{$payment->typeName}} {{$payment->previousReading}} {{$payment->currentReading}} {{$payment->paidAmount}}
{{$count}} {{$payment->typeName}} {{$payment->previousReading}} {{$payment->currentReading}} {{$payment->amountPaid.' '}}[partialpay]
Total: {{$sumTotal}}
@include('footer')