@extends('layouts.adminapp') @section('content') {{-- Property --}}

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

{{__('lng.PropertyRentTable')}}
{{--
--}} {{__('lng.CreateNew')}}
@php $si=0; @endphp @foreach($PropertyRentAgreements as $PropertyRentAgreement) @php $expire = date("F-d-Y",strtotime($PropertyRentAgreement->expire));@endphp @if ($PropertyRentAgreement->member_id) @else @endif @endforeach
{{__('lng.SiNo')}} {{__('lng.Member')}} {{__('lng.Contact')}} {{__('lng.Property')}} {{__('lng.Advance')}} {{__('lng.MonthlyAmount')}} {{__('lng.ExpireDate')}} {{__('lng.Action')}}
{{++$si}}{{$PropertyRentAgreement->Member->name}} {{$PropertyRentAgreement->Member->contact}}{{$PropertyRentAgreement->name}} {{$PropertyRentAgreement->phone}}{{$PropertyRentAgreement->Property->title}} @currency($PropertyRentAgreement->advance) @currency($PropertyRentAgreement->monthly_rent) {{$expire}}
@csrf @method('delete')
{{-- --}}

{{$PropertyRentAgreements->count()}} {{__('lng.Items')}}

@endsection