@extends('layouts.adminapp') @section('content')

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

{{ __('lng.AnnualHousePaymentReport') }}
@if ($SearchResult) @php echo $SearchResult @endphp @else
@php $si=0; @endphp @foreach ($AnnualHouseSubscriptions as $AnnualHouseSubscription) @foreach($AnnualHouseSubscription->house->members as $Member) @if($Member->member_relation_id == App\Extra\General\DBFixedValues::AUTHORITY) @endif @endforeach @endforeach
{{ __('lng.Action') }} {{ __('lng.HouseName') }} {{ __('lng.RegisterNumber') }} {{ __('lng.Authority') }} {{ __('lng.Contact') }} {{ __('lng.SubscriptionAmount') }}
{{$AnnualHouseSubscription->house->name}} {{$AnnualHouseSubscription->house->registernumber}}{{$Member->name}} {{$Member->contact}}@currency($AnnualHouseSubscription->subscriptionpackage->amount ?? '0')
@php $subscriptions = $AnnualHouseSubscription->AnnualHouseSubscriptionPayment() ->orderBy('id', 'DESC') ->where('isCancelled', 0) ->paginate(5); @endphp @foreach ($subscriptions as $PayHistory) @php $DTs = date("F-d-Y",strtotime($PayHistory->date));@endphp @endforeach
{{ __('lng.Date') }} {{ __('lng.Amount') }} {{ __('lng.Head') }}
{{$DTs}} @currency($PayHistory->amount) {{$PayHistory->Head->title}}
@csrf
@endif
@endsection