@extends('layouts.adminapp') @section('content')
{{__('lng.Back')}}
{{--
--}}
@if ($PropertyRent->member_id)

{{$PropertyRent->Member->name}}

{{$PropertyRent->Member->contact}} {{$PropertyRent->Member->house->name}}
@else

{{$PropertyRent->name}}

{{$PropertyRent->phone}} {{$PropertyRent->address}}
@endif
@if ($Balance > 0) {{__('lng.BalanceAmount')}} : @currency($Balance) @else {{__('lng.Advance')}} : @currency(abs($Balance)) @endif
@php $si=0; $Month=$month1; $Year=$year1; $PayAmount=$RentPayedAmout; @endphp @for ($i = 0; $i < $diff; $i++) @php if($Month>12) { $Month=1;$Year++; } $Date=date('Y-m-d',strtotime($Year."-".$Month."-1")); $monthName = date('F-Y',strtotime($Date)); $PayAmount -=$PropertyRent->monthly_rent; @endphp @php $Month++; @endphp @endfor
{{__('lng.SiNo')}} {{__('lng.Month')}} {{__('lng.MonthlyAmount')}} {{__('lng.PaidAmount')}}
{{++$si}} {{$monthName}} @currency($PropertyRent->monthly_rent) @if ($PayAmount >= 0) @currency($PropertyRent->monthly_rent) @else @currency(0) @endif {{-- = 0 ) checked @endif readonly> --}}
@endsection