@foreach($client_statement_data as $membership_type =>$membership_data)
@if($membership_type != 'Professional Fund' && $membership_type != 'Bespoke Trading')
@if (!$membership_data['transactions']->isEmpty())
@endforeach
Your Balance
{{ Auth::user()->currency_symbol . '' . number_format($membership_data['balance'], 2) }}
{{--GBP
--}}Withdrawn {{ Auth::user()->currency_symbol . '' . number_format($membership_data['total_withdraw'], 2) }}
@endifTotal Deposit
{{--133%
--}}{{ Auth::user()->currency_symbol . '' . number_format($membership_data['total_deposit'], 2) }}
{{--GBP
--}}Updated {{ date('d/m/Y', strtotime($membership_data['transactions']->first()->transaction_date)) }}
@endifTotal Profit
{{-- @if ($profit > 0){{ $profit_percentage }}%
@endif --}}{{ Auth::user()->currency_symbol . '' . number_format($membership_data['profit'], 2) }}
{{--GBP
--}}All Interest Payments
@if (request()->has('month_filter'))
Showing Results of
{{ request()->month_filter }}
@else
Showing Results of
@if (count($membership_data['trades'])>0)
{{ Carbon\Carbon::CreateFromFormat('m', $membership_data['trades']->first()->created_at->month)->format('F Y')}}
@else
{{ Carbon\Carbon::now()->format('F Y')}}
@endif
@endif
| Date | Profit | @forelse ($membership_data['trades'] as $trade)||||||
|---|---|---|---|---|---|---|---|
| {{ date('d-m-Y', strtotime($trade->trade_date)) }} | {{ $trade->reward . '%' }} | ||||||
| No record | |||||||
Transactions
| Date | Transaction Amount | Transaction Type | Authorised By | @forelse ($membership_data['transactions'] as $transaction)|||||
|---|---|---|---|---|---|---|---|---|
| {{ date('d-m-Y', strtotime($transaction->transaction_date)) }} | {{ Auth::user()->currency_symbol . number_format($transaction->transaction_amount) }} | @if ($transaction->transaction_type == 'deposit') {{ ucfirst($transaction->transaction_type) }} @else {{ ucfirst($transaction->transaction_type) }} @endif | {{ $transaction->authorised_by }} | |||||
| No record | ||||||||