@extends('layouts.adminapp') @section('title') {{ __('lng.PayHistory') }} - {{ __('lng.Print') }} @endsection @section('active_report', 'active') @section('open_report', 'open') @section('open_rent_report', 'open') @section('active_rent_report', 'active') @section('content')

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

@include('PrintHeader.header')

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

@php $expire = date("F-d-Y",strtotime($PropertyRent->expire));@endphp
{{__('lng.Name')}} {{__('lng.Contact')}} {{__('lng.Address')}} {{__('lng.Property')}} {{__('lng.Advance')}} {{__('lng.ExpireDate')}}
{{$PropertyRent->Member->name ?? $PropertyRent->name}} {{$PropertyRent->Member->contact ?? $PropertyRent->phone}} {{$PropertyRent->Member->house->name ?? $PropertyRent->address}} {{$PropertyRent->Property->title}} {{$PropertyRent->advance}} {{$expire}}

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

@php $i=0;@endphp @foreach ($RentPayments as $RentPayment) @php $date = date("F-d-Y",strtotime($RentPayment->date));@endphp @endforeach
{{__('lng.SiNo')}} {{__('lng.Date')}} {{__('lng.Amount')}} {{__('lng.Head')}}
{{++$i}} {{$date}} @currency($RentPayment->amount) {{$RentPayment->payhead->title}}
@if ($Balance > 0) {{__('lng.BalanceAmount')}} @else {{__('lng.Advance')}} @endif @currency(abs($Balance))
{{ __('lng.Back') }}
@endsection