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

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

@if ($PropertyRent->member_id)
@if ($PropertyRent->Member->photo) @else @endif
{{ $PropertyRent->Member->name ?? '' }}
{{ __('lng.Back') }}

{{ $PropertyRent->Member->house->name ?? '' }} {{ $PropertyRent->Member->contact ?? '' }}

@if ($Balance > 0)

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

@currency($Balance)

@else

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

@currency(abs($Balance))

@endif
@else
{{ $PropertyRent->name }}
{{ __('lng.Back') }}

{{ $PropertyRent->address }} {{ $PropertyRent->phone }}

{{ $PropertyRent->address }}

@if ($Balance > 0)

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

@currency($Balance)

@else

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

@currency(abs($Balance))

@endif
@endif
{{ __('lng.PaymentRentDetails') }}
@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}}
@endsection