{{ $savings->name }}

{{$savings->type == 'locked' ? $lockedSavingsInterestRate : $unlockedSavingsInterestRate}}%

@if ($savings->type === 'locked')

{{$savings->end_date->diffForHumans()}}

@endif

{{$savings->type}}

{{-- close savings modal --}} @if ($savings->status !== 'closed' && $savings->type === 'unlocked')

Close savings Account

Closing this account will transfer the balance to your wallet and the account will become inactive.

This will attract a fee of {{$fee}}

Close Account
@endif
@if ($savings->status === 'closed')

Account Closed

@else

{{formatNumber($savings->balance)}}

Interest Gained: {{formatNumber($savings->interest_accumulated)}}

{{-- add money modal --}}
Add Money

Add money to Savings

Wallet Balance: {{formatNumber(auth()->user()->wallet_balance)}}

Add Money
{{-- withdrawal modal --}}
Withdraw

Withdraw money to wallet

@if ($savings->type === 'locked')
Since this is a locked savings account, withdrawal will attract a {{$breaking_locked_savings_fee}}% penalty on your savings balance.
@endif
Withdraw Money
@endif
{{-- edit savings modal --}} @if ($savings->status !== 'closed')

Edit Savings

Update Savings
@endif

Activities

@foreach ($activities as $activity)

{{$activity->message}}

{{$activity->created_at->diffForHumans()}}

@endforeach