@extends('layouts.adminapp') @section('title') {{ __('lng.PropertyRentVoucher') }} - {{ __('lng.Print') }} @endsection @section('active_report', 'active') @section('open_report', 'open') @section('open_voucher', 'open') @section('active_voucher', 'active') @section('property_rent_voucher', 'active') @section('content')

{{ __('lng.Print') }}

@include('PrintHeader.header')

{{ __('lng.PropertyRentVoucherReport') }}
{{ __('lng.FromDate') }}: {{ date('d-m-Y', strtotime($From)) }}, {{ __('lng.ToDate') }}: {{ date('d-m-Y', strtotime($To)) }},
@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