@if (loading) {
Computing from the ledger…
} @else if (errorMsg) {
{{ errorMsg }}
} @else if (data) {
@for (t of tabs; track t.id) {
{{ t.label }}
}
@if (data.unmetRequirements.length) {
{{ data.unmetRequirements.length }}
{{ data.unmetRequirements.length === 1 ? 'line reports' : 'lines report' }} nothing — check before filing
These lines have no GL accounts behind them, so they are left blank rather than reported as nil. If the bank
genuinely has nothing under a head, leaving it unmapped is correct.
@for (reason of data.unmetRequirements; track reason) {
{{ reason }}
}
{{ configLinkLabel }} →
}
@if (activeTab === 'general') {
General Information
@for (item of data.generalInfo; track item.label) {
{{ item.label }}
{{ item.value }}
}
Office scope
{{ data.officeName }}
{{ data.basis.note }}
}
@if (activeTab === 'figures') {
@for (section of sections(); track section.title) {
{{ section.title }}
{{ section.title }}
{{ section.unit }}
@for (line of section.lines; track line.label) {
{{ line.label }}
@if (!line.configured) {
Not configured
} @else if (line.count) {
{{ count(line.amount) }}
} @else {
{{ amount(line.amount) }}
}
@for (account of line.accounts; track account.glAccountId) {
{{ account.glCode }}
{{ account.name }}
@if (account.excluded) {
excluded — {{ account.excluded }}
}
{{ amount(account.balance) }}
}
}
@for (total of totals(); track total.label) {
{{ total.label }}
{{ amount(total.value) }}
}
}
}
@if (activeTab === 'signatory') {
Signatory Information
@for (signatory of data.signatories; track signatory.heading) {
{{ signatory.heading }}
@for (field of signatoryFields(signatory); track field.caption) {
{{ field.caption }}
{{ field.value || 'Not set in Institution Profile' }}
}
}
}
}
@if (toastVisible) {
{{ toastMsg }}
}