@extends('layouts.adminapp') @section('content')
@include('PrintHeader.header')

{{__('lng.PropertyRentVoucherReport')}}
@php $si=$Total=0; @endphp @foreach ($RentPayments as $RentPayment) @php $DTs = date("F-d-Y",strtotime($RentPayment->date));@endphp @php $Total+=$RentPayment->amount; @endphp @endforeach
{{__('lng.SiNo')}} {{__('lng.Name')}} {{__('lng.HouseName')}} {{__('lng.Property')}} {{ __('lng.Invoice') }} {{ __('lng.Date') }} {{ __('lng.Head') }} {{ __('lng.Amount') }}
{{ ++$si }} {{ $RentPayment->PropertyRent->Member->name ?? $RentPayment->PropertyRent->name }} {{ $RentPayment->PropertyRent->Member->house->name ?? $RentPayment->PropertyRent->address }} {{ $RentPayment->PropertyRent->Property->title ?? '' }} {{ $RentPayment->invoicenumber }} {{ $DTs }} {{ $RentPayment->payhead->title ?? '' }} @currency($RentPayment->amount ?? '0')
{{ __('lng.Total') }} @currency($Total)
{{__('lng.Back')}}
@endsection