@extends('layouts.adminapp') @section('content') {{-- Salary Package --}}
{{__('lng.Back')}}
{{--
--}}
@if ($PropertyRent->member_id)
@if ($PropertyRent->Member->photo) @else @endif

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

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

{{$PropertyRent->name}}

{{$PropertyRent->address}} {{$PropertyRent->phone}}
@endif
@if ($Balance > 0) {{__('lng.BalanceAmount')}} : @currency($Balance) @else {{__('lng.Advance')}} : @currency(abs($Balance)) @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.Amount') }} {{__('lng.Paid')}}
{{++$si}} {{$monthName}} @currency($PropertyRent->monthly_rent) = 0 ) checked @endif readonly>
{{__('lng.PayHistory')}}
{{-- --}}
@php $si=0; @endphp @foreach($PropertyRent->RentPayment->where('isCancelled',0) as $RentPayment) @php $Date = date("d-m-y",strtotime($RentPayment->date));@endphp @endforeach
{{__('lng.SiNo')}} {{ __('lng.Date') }} {{ __('lng.PayAmount') }} {{__('lng.Action')}}
{{++$si}} {{ $Date }} @currency($RentPayment->amount)
@csrf @method('delete')
{{-- Modal --}} @endsection