@extends('layouts.memberapp') @section('title') {{ __('lng.Member') }} - {{ __('lng.FundList') }} @endsection @section('active_fundlist', 'active') @section('content')

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

{{ __('lng.FundList') }}
@php $si=0; @endphp @foreach ($FundListDetails as $FundList) @php $Balance = $Payed = 0; $DTs = date('d-m-Y', strtotime($FundList->FundList->date)); $Balance = $FundList->amount - $FundList ->Payments() ->where('isCancelled', false) ->orWhereNull('isCancelled') ->sum('amount'); $Payed = $FundList ->Payments() ->where('isCancelled', false) ->orWhereNull('isCancelled') ->sum('amount'); @endphp @endforeach
# {{ __('lng.Date') }} {{ __('lng.FundList') }} {{ __('lng.PayAmount') }} {{ __('lng.Payed') }} {{ __('lng.Balance') }}
{{ ++$si }} {{ $DTs }} {{ $FundList->FundList->title }} @currency($FundList->amount) @currency($Payed) @currency($Balance)
@endsection