@extends('member.layout') @section('content')

My Money Market Investments

Track your fixed-term investments and monitor their growth over time.

Investment Calculator
@if($stats['total_accounts'] > 0)

{{ number_format($stats['total_accounts']) }}

Total Investments

{{ number_format($stats['active_accounts']) }}

Active Investments

{{ number_format($stats['matured_accounts']) }}

Matured Investments

{{ \App\Helpers\CurrencyHelper::format($stats['total_value'], 'KES') }}

Total Portfolio Value

@endif

My Investments

@if($moneyMarketAccounts->count() > 0)
@foreach($moneyMarketAccounts as $account) @endforeach
Account Number Principal Amount Interest Rate Term Start Date Maturity Date Interest Earned Total Value Status Actions
{{ $account->account_number }} {{ \App\Helpers\CurrencyHelper::format($account->principal_amount, $account->currency_code) }} {{ number_format($account->interest_rate, 2) }}% {{ $account->term_months }} months {{ $account->start_date->format('M d, Y') }} {{ $account->maturity_date->format('M d, Y') }} {{ \App\Helpers\CurrencyHelper::format($account->interest_earned, $account->currency_code) }} {{ \App\Helpers\CurrencyHelper::format($account->total_amount, $account->currency_code) }} {{ ucfirst($account->status) }} View @if($account->status === 'active' || $account->status === 'matured') @endif
@else

No Money Market Investments Yet

You don't have any money market investments at the moment.

Contact your Sacco administrator to open a money market account.

@endif
@endsection @section('scripts') @endsection