@extends('layouts.adminapp') @section('title') {{ __('lng.QuickView') }} - {{ __('lng.House') }} @endsection @section('content')

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

{{$House->name}}

@foreach($House->members as $Member) @if($Member->member_relation_id == App\Extra\General\DBFixedValues::AUTHORITY) {{$Member->name}} @php $Phone=$Member->contact; @endphp @endif @endforeach

{{$Phone}} {{$House->place}}

  • {{ __('lng.RegisterNumber') }} :
    {{$House->registernumber}}
  • {{ __('lng.Members') }} :
    {{$MemberCount}}
  • {{__('lng.RationCard')}} :
    {{$House->poverty_line}}
  • {{__('lng.AnnualIncome')}} :
    @currency($House->annual_income)
  • {{__('lng.Electricity')}} :
    @if ($House->electricity) {{__('lng.Yes')}} @else {{__('lng.No')}} @endif
  • {{__('lng.RentHouse')}} :
    @if ($House->is_on_house) {{__('lng.No')}} @else {{__('lng.Yes')}} @endif
  • {{__('lng.Water')}} :
    {{$House->water}}
  • {{__('lng.FinancialStatus')}} :
    {{$House->financial_status}}

{{__('lng.HouseSupscription')}} :

  • @if ($Balance<=0)

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

    @else

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

    @endif ₹ {{abs($Balance)}}

{{__('lng.Payments')}} :

    @foreach ($VoucherTypes as $VoucherType)
    @csrf
  • {{$VoucherType->title}}

    {{__('lng.Donation')}}
  • @endforeach
@foreach ($House->members->where('isCancelled',0) as $Member)

{{$Member->name}}

{{$Member->contact}}

{{$Member->member_relation->title ?? ''}}
@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.Amount')}} {{__('lng.Narration')}} {{__('lng.Action')}}
{{++$si}}
@currency($SubscriptionPayment->amount) {{$Date}}
{{$SubscriptionPayment->narration}}
@csrf @method('delete')
{{__('lng.DonationPayments')}}
@php $si=0; @endphp @foreach ($Donations as $Donation) @php $Date = date("d-m-Y",strtotime($Donation->date));@endphp @endforeach
{{__('lng.SiNo')}} {{__('lng.Amount')}} {{__('lng.Voucher')}} {{__('lng.Head')}} {{__('lng.Action')}}
{{++$si}}
@currency($Donation->amount) {{$Date}}
{{$Donation->VoucherType->title ?? ''}} {{$Donation->payhead->title ?? ''}}
@csrf @method('delete')
{{__('lng.FundListDetails')}}
@php $si=$FundListAmount=$AddAmount=$Collection=0; @endphp @foreach ($FundListDetails as $FundListDetail) @php $Date = date("d-m-Y",strtotime($Donation->date));@endphp @endforeach
{{__('lng.SiNo')}} {{__('lng.FundList')}} {{__('lng.CollectionAmount')}} {{__('lng.Payed')}} {{__('lng.Status')}} {{__('lng.Action')}}
{{++$si}} {{$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
@endsection