+
+
+
+
+
+
+
+
+
+ @for (client of clientOptions; track client.id) {
+
+
+ {{ client.id }}
+ {{ client.displayName }}
+ {{ client.officeName }}
+
+
+ }
+
+ @if (clientListIsPartial) {
+
+ Showing {{ clientOptions.length }} of {{ clientTotal }} — type a name to find the rest
+
+ }
+
+ @if (loadedClientName) {
+ {{ loadedClientName }}
+ } @else if (clientLookupFailed) {
+ No client with this ID
+ }
+
+
+
+
+
+
+
+
+
+ @for (type of subTypeOptions; track type.id) {
+
+
+ {{ type.accountTypeCode }}
+ {{ type.accountTypeDescription }}
+ {{ type.accountTypeGroup }}
+
+
+ }
+ @if (subTypeOptions.length === 0) {
+ No scheme matches that.
+ }
+
+ @if (subTypes.length === 0) {
+ No active account type — create one first
+ }
+
+
+
+
+
+
+
+
+
+ @for (agent of agentOptions; track agent.id) {
+
+
+ {{ agent.agentCode }}
+ {{ agent.agentNameId }}
+
+
+ {{ agent.active ? agent.homeBranch : 'not collecting' }}
+
+
+
+ }
+ @if (agentOptions.length === 0) {
+ No agent matches that.
+ }
+
+ @if (loadedAgentName && !agentLookupFailed) {
+ {{ loadedAgentName }}
+ } @else if (loadedAgentName && agentLookupFailed) {
+ {{ loadedAgentName }} is deactivated
+ } @else if (agentLookupFailed) {
+ No agent with this ID
+ }
+
+
+
+
+
+
+
+
+ @for (office of offices; track office.id) {
+ {{ office.name }}
+ }
+
+ @if (officesError) {
+ {{ officesError }}
+ } @else {
+ The branch this account belongs to
+ }
+
+
+
+
+ @if (savingsAccountNo) {
+
+
+
+ {{ savingsAccountNo }}
+
+ {{ savingsProductName }} ·
+ {{ savingsAccountStatus }}
+ · {{ savingsAccountBalance | number: '1.2-2' }}
+
+
+
+ } @else if (partyId) {
+
+
+
+ No account — opened before DDS started opening them
+
+
+ } @else {
+
+
+
+ Opens automatically when this party is saved
+
+
+ }
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Yes
+ No
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Male
+ Female
+ Other
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ @for (op of operations; track op) {
+ {{ op }}
+ }
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ @for (occ of occupations; track occ) {
+ {{ occ }}
+ }
+
+
+
+
+
+
+
+
+ @for (r of riskLevels; track r) {
+ {{ r }}
+ }
+
+
+
+
+
+
+
+
+
+
+
+
+
+ @for (opt of adultMinorOptions; track opt) {
+ {{ opt }}
+ }
+
+
+
+
+ @if (isMinorAccount) {
+
+
+
+
+
+
+ Turns 18 on
+
+
+
+
+
+
+
+
+
+ @for (client of guardianOptions; track client.id) {
+
+
+ {{ client.id }}
+ {{ client.displayName }}
+ {{ client.officeName }}
+
+
+ }
+
+ @if (loadedGuardianName) {
+ {{ loadedGuardianName }}
+ }
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ To the minor
+
+
+ }
+
+ @if (!isMinorAccount) {
+
An adult's account needs no guardian details.
+ }
+
+
+
+
+
+
+
+
+ OD1 Flag
+
+
+ OD2 Flag
+
+
+
+
+
+
+ Yes
+ No
+
+ @if (lienHeld) {
+ Nothing can leave this account until it is released
+ }
+
+
+
+
+ @if (lienHeld) {
+
+
+
+
+ @for (reason of lienReasons; track reason) {
+ {{ reason }}
+ }
+
+ What this money is being held for
+
+
+
+
+ @if (lienReasonIsOther) {
+
+
+
+
+ Write the reason in your own words
+
+
+ }
+ }
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Is SMS Active
+
+
+ Is Email Active
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ @for (code of freezeCodes; track code) {
+ {{ code }}
+ }
+
+
+
+
+
+
+
+
+ @for (code of advCodes; track code) {
+ {{ code }}
+ }
+
+
+
+
+
+
+ @if (creditToRequired) {
+
+
+
Transfer To Saving — say where the maturity proceeds should land.
+
+
+
+
+
+ @for (office of offices; track office.id) {
+ {{ office.name }}
+ }
+
+ @if (officesError) {
+ {{ officesError }}
+ }
+
+
+
+
+
+
+
+
+ @for (account of creditToAccounts; track account.id) {
+
+ {{ account.accountNo }} · {{ account.productName }}
+
+ }
+
+ @if (creditToAccounts.length === 0) {
+
+ {{ loadedClientName || 'This customer' }} has no other savings account to credit
+
+ }
+
+
+
+
+
+
+
+
+
+
+
+
+ }
+
+