@extends('layouts.adminapp') @section('content') {{-- Member Registeration --}} {{--
{{$House->name}}
--}}
@if ($Balance<=0)
{{__('lng.SubscriptionAdvanceAmount')}}
@else
{{__('lng.SubscriptionPendingAmount')}}
@endif
₹ {{abs($Balance)}}
{{ __('lng.HouseName') }} : {{$House->name}}
{{ __('lng.Author') }} : @foreach($House->members as $Member) @if($Member->member_relation_id == App\Extra\General\DBFixedValues::AUTHORITY) {{$Member->name}} @php $Phone=$Member->contact; @endphp @endif @endforeach
{{ __('lng.Phone') }} : {{$Phone}}
{{ __('lng.RegisterNumber') }} : {{$House->registernumber}}
{{ __('lng.Place') }} : {{$House->place}}
{{ __('lng.Members') }} : {{$MemberCount}}
{{__('lng.Members')}}
@foreach ($House->members->where('isCancelled',0) as $Member)
{{$Member->member_relation->title ?? ''}}
{{$Member->name}}
@endforeach
{{__('lng.SubscriptionPaymentDetails')}}
@php $si=0; @endphp @foreach ($SubscriptionPayments as $SubscriptionPayment) @php $Date = date("d-M-Y",strtotime($SubscriptionPayment->date));@endphp @endforeach
{{ __('lng.SiNo') }} {{ __('lng.Date') }} {{ __('lng.Amount') }} {{ __('lng.Narration') }} {{ __('lng.Action') }}
{{++$si}} {{$Date}} @currency($SubscriptionPayment->amount) {{$SubscriptionPayment->narration}}
@csrf @method('delete')
{{$SubscriptionPayments->appends($_GET)->links()}}
{{-- Subscription Modal --}}
@foreach ($VoucherTypes as $VoucherType) @endforeach
{{__('lng.Donation')}}
@php $si=0; @endphp @foreach ($Donations as $Donation) @php $Date = date("d-m-Y",strtotime($Donation->date));@endphp @endforeach
# {{__('lng.Date')}} {{__('lng.Voucher')}} {{__('lng.Head')}} {{__('lng.Amount')}} {{__('lng.Action')}}
{{++$si}} {{$Date}} {{$Donation->VoucherType->title ?? ''}} {{$Donation->payhead->title ?? ''}} @amount($Donation->amount)
@csrf @method('delete')
{{$Donations->appends($_GET)->links()}}
{{__('lng.TotalAmount')}} @currency($DonationTotal)
{{__('lng.FundListDetails')}}
@php $si=$FundListAmount=$AddAmount=$Collection=0; @endphp @foreach ($FundListDetails as $FundListDetail) @php $Date = date("d-m-Y",strtotime($FundListDetail->date));@endphp @php $FundListAmount+=$AddAmount; $Collection+=$FundListDetail->amount; $AddAmount=0; @endphp @endforeach
# {{__('lng.Date')}} {{__('lng.FundList')}} {{__('lng.CollectionAmount')}} {{__('lng.Payed')}} {{__('lng.Status')}} {{__('lng.Action')}}
{{++$si}} {{$Date}} {{$FundListDetail->FundList->title ?? ''}} @amount($FundListDetail->amount)
    @foreach ($FundListDetail->Payments()->where('isCancelled',false)->orWhereNull('isCancelled')->get() as $Payment)
  • @amount($Payment->amount)
    {{-- --}}
    @csrf @method('delete')
    {{$Payment->vouchernumber}} {{date('d-m-Y',strtotime($Payment->date))}}
  • @php $AddAmount+=$Payment->amount; @endphp @endforeach
@if($FundListDetail->amount<=$FundListDetail->Payments()->where('isCancelled',false)->orWhereNull('isCancelled')->sum('amount'))
{{__('lng.Completed')}}
@else
{{__('lng.Pending')}}
@endif
@php $VoucherType=$FundListDetail->FundList->voucher_type_id; $VoucherNo=\App\Models\FundListPayment::where('vouchertype_id',$VoucherType)->max('vouchernumber')+1; @endphp
{{ __('lng.Total') }} @currency($Collection) @currency($FundListAmount)
@if ($FundListAmount - $Collection >= 0) {{__('lng.Completed')}} @else {{__('lng.Pending')}} @endif
{{__('lng.Report')}}
{{__('lng.DonationAmount')}} @currency($DonationTotal)
{{__('lng.SubscriptionPayedAmount')}} @currency($SubscriptionPaymentAmount)
@if ($Balance<=0) {{__('lng.SubscriptionAdvanceAmount')}} @else {{__('lng.SubscriptionPendingAmount')}} @endif @currency(abs($Balance))
{{__('lng.FundListCollectionAmount')}} @currency($Collection)
{{__('lng.FundListPayedAmount')}} @currency($FundListAmount)
{{__('lng.FundListPendingAmount')}} @if ($Collection - $FundListAmount >= 0) @currency($Collection - $FundListAmount) @else @currency(0) @endif
{{-- payment modal --}} @endsection