Savings Daily Interest

@if (message) {
{{ message }}
}
@if (selectedProduct) { } @if (selectedAccount) { }
@if (loading) {
Loading…
} @if (activeTab === 'products' && !loading) { @for (product of products; track product.id) { } @empty { }
Product Rate Posts Accounts Accrued This Cycle Last Posted Next Posting Status
{{ product.name }} {{ product.short_name }} {{ product.rate }}% {{ postingPeriodLabel(product.posting_period_enum) }} {{ product.active_accounts }} {{ product.accrued_this_cycle | number: '1.2-2' }} {{ formatDate(product.last_posting_date) }} {{ formatDate(product.next_posting_date) }} @if (product.last_run_status) { {{ product.last_run_status }} } @else { Not run }
No savings products carry a ledger yet.
} @if (activeTab === 'accounts' && !loading) { @for (account of accounts; track account.savings_account_id) { } @empty { }
Account Client As At Opening Closing Day Interest Sum This Cycle Cycle Pays On
{{ account.account_no }} {{ account.client_name || '—' }} {{ formatDate(account.balance_date) }} {{ account.opening_balance | number: '1.2-2' }} {{ account.closing_balance | number: '1.2-2' }} {{ account.daily_interest | number: '1.4-4' }} @if (account.below_min_balance) { below min } {{ account.cycle_cumulative_interest | number: '1.2-2' }} {{ account.cycle_number }} {{ formatDate(account.cycle_end_date) }}
No ledger rows for this product yet.
} @if (activeTab === 'ledger' && !loading) { @for (day of ledger; track day.balance_date) { } @empty { }
Date Opening Closing Day Interest Running Sum Cycle Posted
{{ formatDate(day.balance_date) }} @if (day.is_posting_day) { } {{ day.opening_balance | number: '1.2-2' }} {{ day.closing_balance | number: '1.2-2' }} {{ day.daily_interest | number: '1.4-4' }} @if (day.below_min_balance) { below min } {{ day.cycle_cumulative_interest | number: '1.4-4' }} {{ day.cycle_number }} @if (day.posted_amount !== null) { {{ day.posted_amount | number: '1.2-2' }} } @else { — }
No days recorded for this account.
} @if (activeTab === 'runs' && !loading) { @for (run of runs; track run.id) { } @empty { }
Product Posting Date Accounts Pooled Distributed Residual Status
{{ run.product_name }} {{ formatDate(run.posting_date) }} {{ run.account_count }} {{ run.pooled_amount | number: '1.2-2' }} {{ run.distributed_amount | number: '1.2-2' }} {{ run.rounding_residual | number: '1.2-2' }} {{ run.status }} @if (run.failure_reason) {
{{ run.failure_reason }}
}
No posting runs yet.
}