@if (dueForClosureCount > 0) {
{{ dueForClosureCount }}
{{ dueForClosureCount === 1 ? 'account has' : 'accounts have' }} matured and
{{ dueForClosureCount === 1 ? 'is' : 'are' }} still open —
@if (dueForClosurePayable > 0) {
{{ dueForClosurePayable | number: '1.2-2' }} still owed to customers.
} @else {
paid in full, waiting to be closed.
}
Settle {{ dueForClosureCount === 1 ? 'it' : 'them' }}
}
@if (loaded && totalCount > 0) {
@if (!selectedAgent) {
{{ agentGroups.length }}
Total agents
{{ book.accounts }}
Total DDS accounts
{{ book.open }}
Active accounts
{{ book.matured }}
Matured accounts
{{ book.maturedBalance | number: '1.2-2' }} to pay out
{{ book.closed }}
Closed accounts
{{ book.prematureClosed }} premature · {{ book.closed - book.prematureClosed }} at maturity
{{ book.balance | number: '1.2-2' }}
Total deposits held
} @else if (agentLoading) {
Loading {{ selectedAgent.agentName }}'s accounts…
} @else {
Accounts
Maturity
Money
Collection
{{ collectionRate }}% of what was due till today has come in.
By product
@for (product of figures.byProduct; track product.name) {
{{ product.name }} {{ product.count }}
}
}
}
@if (totalCount === 0) {
No DDS accounts yet
Open one so an agent can start collecting daily deposits against it.
} @else if (!selectedAgent) {
@for (group of pagedAgents; track group.agentCode) {
} @empty {
No agents match your search.
}
@if (visibleAgents.length > 0) {
}
} @else {
@if (cardView !== 'all') {
Showing {{ viewLabel }} · {{ dataSource.data.length }}
{{ dataSource.data.length === 1 ? 'account' : 'accounts' }}
}
| Party Code |
|
Party Name |
{{ p.partyName }} |
Sub Type |
{{ p.subTypeDescription || p.subType }}
|
Collected By |
|
DDS Account |
@if (p.accountNo) {
} @else if (p.savingsAccountNo) {
} @else {
Not opened
}
|
Daily Deposit |
{{ p.dailyDepositAmount | number: '1.2-2' }} |
Current Balance |
{{ p.currentBalance | number: '1.2-2' }}
|
Schedule |
{{ scheduleOf(p).label }}
|
Status |
{{ statusLabel(p.status) }}
|
Nominees |
@if (nomineeCount(p) > 0) {
} @else {
None
}
|
Actions |
@if (!isClosed(p)) {
}
|
@if (dataSource.filteredData.length === 0 && totalCount > 0) {
No accounts of {{ selectedAgent.agentName }} match your search.
}
}