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

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

@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.PayRentDetails') }}
@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
@endsection