@extends('adminlte::page') @section('title', 'Edit Money Market Account') @section('content')

Edit Money Market Account: {{ $moneyMarketAccount->account_number }}

@csrf @method('PUT')
Note: Only interest rate and notes can be modified for active accounts. Principal amount, term, and dates cannot be changed once the account is created.
{{ \App\Helpers\CurrencyHelper::getSymbol($moneyMarketAccount->currency_code) }}
%
@error('interest_rate')
{{ $message }}
@enderror
@error('notes')
{{ $message }}
@enderror
Current Financial Summary
Principal Amount:
{{ \App\Helpers\CurrencyHelper::format($moneyMarketAccount->principal_amount, $moneyMarketAccount->currency_code) }}
Interest Earned:
{{ \App\Helpers\CurrencyHelper::format($moneyMarketAccount->interest_earned, $moneyMarketAccount->currency_code) }}
Total Amount:
{{ \App\Helpers\CurrencyHelper::format($moneyMarketAccount->total_amount, $moneyMarketAccount->currency_code) }}
@endsection