@extends('layouts.adminapp')
@section('title') {{ __('lng.MonthlyReport') }} - {{ __('lng.Print') }} @endsection
@section('active_report', 'active')
@section('open_report', 'open')
@section('open_rent_report', 'open')
@section('active_rent_report', 'active')
@section('content')
@include('PrintHeader.header')
{{__('lng.MemberDetails')}}
{{__('lng.Name')}} |
{{__('lng.Contact')}} |
{{__('lng.Address')}} |
{{__('lng.Property')}} |
{{__('lng.Advance')}} |
{{__('lng.ExpireDate')}} |
@php $expire = date("F-d-Y",strtotime($PropertyRent->expire));@endphp
{{$PropertyRent->Member->name ?? $PropertyRent->name}} |
{{$PropertyRent->Member->contact ?? $PropertyRent->phone}} |
{{$PropertyRent->Member->house->name ?? $PropertyRent->address}} |
{{$PropertyRent->Property->title}} |
{{$PropertyRent->advance}} |
{{$expire}} |
{{__('lng.MonthlyRentReport')}}
{{__('lng.SiNo')}} |
{{__('lng.Month')}} |
{{__('lng.MonthlyAmount')}} |
{{__('lng.PaidFee')}} |
@php
$si=0;
$Month=$month1;
$Year=$year1;
$PayAmount=$RentPayedAmout;
$Nomonths=12;
@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
{{++$si}} |
{{$monthName}} |
@currency($PropertyRent->monthly_rent) |
@if ($PayAmount >= 0)
@currency($PropertyRent->monthly_rent)
@else
0
@endif
|
@php
$Month++;
@endphp
@endfor
@if ($Balance > 0)
{{__('lng.BalanceAmount')}}
@else
{{__('lng.Advance')}}
@endif
|
@currency(abs($Balance)) |
@endsection