@extends('layouts.adminapp') @section('title') {{ __('lng.HouseSubscription') }} @endsection @section('active_register', 'active') @section('open_register', 'open') @section('open_assign_subscription', 'open') @section('active_assign_subscription', 'active') @section('active_house_subscription', 'active') @section('content')

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

{{ __('lng.HouseSubscriptionTable') }}
@if ($SearchResult) @php echo $SearchResult @endphp @else
@php $si=0; @endphp @foreach ($HouseSubscriptions as $HouseSubscription) @php $DTs = date("d-m-Y",strtotime($HouseSubscription->date)); @endphp @endforeach
{{ __('lng.SiNo') }} {{ __('lng.Date') }} {{ __('lng.House') }} {{ __('lng.RegisterNumber') }} {{ __('lng.SubscriptionPackage') }} {{ __('lng.Pending') }} / {{ __('lng.Advance') }} {{ __('lng.Amount') }} {{ __('lng.Narration') }} {{ __('lng.Action') }}
{{ ++$si }}{{ $DTs }} {{ $HouseSubscription->house->name ?? '' }} - @foreach ($HouseSubscription->house->members as $Member) @if ($Member->member_relation_id == App\Extra\General\DBFixedValues::AUTHORITY) {{ $Member->name }} @endif @endforeach {{ $HouseSubscription->house->registernumber ?? '' }} {{ $HouseSubscription->subscriptionpackage->title }} @if ($HouseSubscription->DRorCR == 'Dr') {{ __('lng.Pending') }} @elseif($HouseSubscription->DRorCR == 'Cr') {{ __('lng.Advance') }} @else {{ __('lng.None') }} @endif @currency($HouseSubscription->openingbalance) {{ $HouseSubscription->narration }}
{{--
--}}
@csrf @method('delete')

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

@endif
@endsection