@extends('layouts.adminapp') @section('title') {{ __('lng.FundListReport') }} - {{ __('lng.MembersDetails') }} @endsection @section('active_report', 'active') @section('open_report', 'open') @section('open_fund_list_report', 'open') @section('active_fund_list_report', 'active') @section('content')

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

{{$FundList->title}}
{{ __('lng.Back') }}
@php $si=$CollectionTotalAmount=$PayedAmount=0; @endphp @foreach($FundListDetails as $FundListDetail) @php $Date = date("d-m-Y",strtotime($FundList->date)); @endphp @php $ExpireDate = date("d-m-Y",strtotime($FundList->expire)); @endphp @php $CollectionTotalAmount+=$FundListDetail->amount; $PayedAmount+=$FundListDetail->Payments()->where('isCancelled',false)->orWhereNull('isCancelled')->sum('amount'); @endphp @endforeach
{{__('lng.SiNo')}} {{__('lng.Name')}} {{__('lng.House')}} {{__('lng.Contact')}} {{__('lng.Status')}} {{__('lng.CollectionAmount')}} {{__('lng.Payed')}}
{{++$si}} {{$FundListDetail->Member->name ?? ''}} {{$FundListDetail->Member->house->name ?? ''}} {{$FundListDetail->Member->contact ?? ''}} @if($FundListDetail->amount<=$FundListDetail->Payments()->where('isCancelled',false)->orWhereNull('isCancelled')->sum('amount'))
{{__('lng.Completed')}}
@else
{{__('lng.Pending')}}
@endif
@amount($FundListDetail->amount) @currency($FundListDetail->Payments()->where('isCancelled',false)->orWhereNull('isCancelled')->sum('amount'))
{{__('lng.Total')}} @currency($CollectionTotalAmount) @currency($PayedAmount)
@endsection