@section('title', (isset($page_title) ? $page_title . ' | ' : '') . config('app.name')) @section('breadcrumb', (isset($page_title) ? $page_title : ''))
@error('amount') {{$message}} @enderror
@error('source') {{$message}} @enderror
@error('transaction_type') {{$message}} @enderror
User Code: {{$user->user_code}}
Name: {{$user->name}}
Phone: {{$user->phone}}
Investment Wallet Balance: ₹ {{ preg_replace('/(\d+?)(?=(\d\d)+(\d)(?!\d))(\.\d+)?/i', "$1,", $remaining_investment_wallet_balance) }}
@forelse ($investment_wallets as $key => $investment_wallet) @empty @endforelse
# Amount Source Type Date
{{ $investment_wallets->firstItem() + $loop->index }} ₹ {{ $investment_wallet->formatted_amount }} {{ ucwords(str_replace('_', ' ', $investment_wallet->source)) }}
@if ($investment_wallet->source == 'investment_transfer') ({{ App\Models\User::where('id', $investment_wallet->source_id)->first()->user_code }}) @endif
{{ ucfirst($investment_wallet->transaction_type) }} {{ $investment_wallet->created_at }}