@if (loading) {
Computing from the ledger…
} @else if (errorMsg) {
{{ errorMsg }}
} @else if (data) {

{{ returnShortName }} — {{ data.returnName }}

{{ bankName }} · Bank Code {{ bankCode }} · Return Code {{ data.returnCode }} · Quarter ending {{ data.quarter.endDate }}
{{ data.quarter.label }}
@for (t of tabs; track t.id) { }
@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.

{{ 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 }}
@for (line of section.lines; track line.label) { @for (account of line.accounts; track account.glAccountId) { } } @for (total of totals(); track total.label) { }
{{ section.title }} {{ section.unit }}
{{ line.label }} @if (!line.configured) { Not configured } @else if (line.count) { {{ count(line.amount) }} } @else { {{ amount(line.amount) }} }
{{ account.glCode }} {{ account.name }} @if (account.excluded) { excluded — {{ account.excluded }} } {{ amount(account.balance) }}
{{ 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 }}
}