@extends('layouts.adminapp') @section('title') {{ __('lng.HouseSubscriptionPaymentReport') }} @endsection @section('active_report', 'active') @section('open_report', 'open') @section('open_subscription_report', 'open') @section('active_subscription_report', 'active') @section('open_house_subscription_report', 'open') @section('active_house_subscription_report', 'active') @section('active_house_pay_subscription_report', 'active') @section('content')

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

{{ __('lng.HouseSubscriptionPaymentReport') }}
@if ($SearchResult) @php echo $SearchResult @endphp @else
@php $si=0; @endphp @foreach ($HouseSubscriptions as $HouseSubscription) @foreach ($HouseSubscription->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') }}
{{ $HouseSubscription->house->name }} {{ $HouseSubscription->house->registernumber }}{{ $Member->name }} {{ $Member->contact }}@currency($HouseSubscription->subscriptionpackage->amount ?? '0')
@php $subscriptions = $HouseSubscription->house ->subscriptions() ->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

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

@endif
@endsection