diff --git a/src/app/deposits/recurring-deposits/recurring-deposits-account-stepper/recurring-deposits-account-settings-step/recurring-deposits-account-settings-step.component.html b/src/app/deposits/recurring-deposits/recurring-deposits-account-stepper/recurring-deposits-account-settings-step/recurring-deposits-account-settings-step.component.html
index a03d2f701..50b58fcdd 100644
--- a/src/app/deposits/recurring-deposits/recurring-deposits-account-stepper/recurring-deposits-account-settings-step/recurring-deposits-account-settings-step.component.html
+++ b/src/app/deposits/recurring-deposits/recurring-deposits-account-stepper/recurring-deposits-account-settings-step/recurring-deposits-account-settings-step.component.html
@@ -38,7 +38,7 @@
{{"labels.inputs.Recurring Deposit Amount" | translate }}
- {{"labels.inputs.Recurring Deposit Amount" | translate }} {{ "labels.commons.is" |translate}} {{ "labels.commons.required" |translate}}
+ {{"labels.inputs.Recurring Deposit Amount" | translate }} {{ "labels.commons.is" | translate }} {{ "labels.commons.required" | translate }}
@@ -77,7 +77,7 @@
{{"labels.inputs.Deposit Frequency" | translate }}
- {{"labels.inputs.Deposit Frequency" | translate }} {{ "labels.commons.is" |translate}} {{ "labels.commons.required" |translate}}
+ {{"labels.inputs.Deposit Frequency" | translate }} {{ "labels.commons.is" | translate }} {{ "labels.commons.required" | translate }}
@@ -89,7 +89,7 @@
- {{"labels.inputs.Deposit Frequency Type" | translate }} {{ "labels.commons.is" |translate}} {{ "labels.commons.required" |translate}}
+ {{"labels.inputs.Deposit Frequency Type" | translate }} {{ "labels.commons.is" | translate }} {{ "labels.commons.required" | translate }}
@@ -103,7 +103,7 @@
{{"labels.inputs.Frequency" | translate }}
- {{"labels.inputs.Minimum Deposit Term Frequency" | translate }} {{ "labels.commons.is" |translate}} {{ "labels.commons.required" |translate}}
+ {{"labels.inputs.Minimum Deposit Term Frequency" | translate }} {{ "labels.commons.is" | translate }} {{ "labels.commons.required" | translate }}
@@ -115,7 +115,7 @@
- {{"labels.inputs.Minimum Deposit Term Frequency Type" | translate }} {{ "labels.commons.is" |translate}} {{ "labels.commons.required" |translate}}
+ {{"labels.inputs.Minimum Deposit Term Frequency Type" | translate }} {{ "labels.commons.is" | translate }} {{ "labels.commons.required" | translate }}
diff --git a/src/app/deposits/recurring-deposits/recurring-deposits-account-stepper/recurring-deposits-account-settings-step/recurring-deposits-account-settings-step.component.ts b/src/app/deposits/recurring-deposits/recurring-deposits-account-stepper/recurring-deposits-account-settings-step/recurring-deposits-account-settings-step.component.ts
index 8ca6e541a..7cfa10365 100644
--- a/src/app/deposits/recurring-deposits/recurring-deposits-account-stepper/recurring-deposits-account-settings-step/recurring-deposits-account-settings-step.component.ts
+++ b/src/app/deposits/recurring-deposits/recurring-deposits-account-stepper/recurring-deposits-account-settings-step/recurring-deposits-account-settings-step.component.ts
@@ -61,6 +61,8 @@ export class RecurringDepositsAccountSettingsStepComponent implements OnInit, On
'preClosurePenalInterest': this.recurringDepositsAccountProductTemplate.preClosurePenalInterest,
'preClosurePenalInterestOnTypeId': this.recurringDepositsAccountProductTemplate.preClosurePenalInterestOnType ? this.recurringDepositsAccountProductTemplate.preClosurePenalInterestOnType.id : '',
'minBalanceForInterestCalculation': this.recurringDepositsAccountProductTemplate.minBalanceForInterestCalculation,
+ 'depositPeriod': this.recurringDepositsAccountProductTemplate.minDepositTerm,
+ 'depositPeriodFrequencyId': this.recurringDepositsAccountProductTemplate.minDepositTermType.id
});
if (this.recurringDepositsAccountProductTemplate.withHoldTax) {
this.recurringDepositAccountSettingsForm.addControl('withHoldTax', new UntypedFormControl(false));
diff --git a/src/app/deposits/recurring-deposits/recurring-deposits-account-stepper/recurring-deposits-account-terms-step/recurring-deposits-account-terms-step.component.ts b/src/app/deposits/recurring-deposits/recurring-deposits-account-stepper/recurring-deposits-account-terms-step/recurring-deposits-account-terms-step.component.ts
index 413454f77..7f385ff5c 100644
--- a/src/app/deposits/recurring-deposits/recurring-deposits-account-stepper/recurring-deposits-account-terms-step/recurring-deposits-account-terms-step.component.ts
+++ b/src/app/deposits/recurring-deposits/recurring-deposits-account-stepper/recurring-deposits-account-terms-step/recurring-deposits-account-terms-step.component.ts
@@ -48,7 +48,7 @@ export class RecurringDepositsAccountTermsStepComponent implements OnInit, OnCha
ngOnInit() {
this.maxDate = this.settingsService.businessDate;
- if (this.recurringDepositsAccountTemplate.interestCompoundingPeriodType) {
+ if (this.recurringDepositsAccountTemplate.id) {
this.recurringDepositAccountTermsForm.patchValue({
'interestCompoundingPeriodType': this.recurringDepositsAccountTemplate.interestCompoundingPeriodType.id,
'interestPostingPeriodType': this.recurringDepositsAccountTemplate.interestPostingPeriodType.id,
@@ -78,6 +78,14 @@ export class RecurringDepositsAccountTermsStepComponent implements OnInit, OnCha
this.interestPostingPeriodTypeData = this.recurringDepositsAccountProductTemplate.interestPostingPeriodTypeOptions;
this.interestCalculationTypeData = this.recurringDepositsAccountProductTemplate.interestCalculationTypeOptions;
this.interestCalculationDaysInYearTypeData = this.recurringDepositsAccountProductTemplate.interestCalculationDaysInYearTypeOptions;
+ if (!this.recurringDepositsAccountTemplate.id) {
+ this.recurringDepositAccountTermsForm.patchValue({
+ 'interestCompoundingPeriodType': this.recurringDepositsAccountProductTemplate.interestCompoundingPeriodType.id,
+ 'interestPostingPeriodType': this.recurringDepositsAccountProductTemplate.interestPostingPeriodType.id,
+ 'interestCalculationType': this.recurringDepositsAccountProductTemplate.interestCalculationType.id,
+ 'interestCalculationDaysInYearType': this.recurringDepositsAccountProductTemplate.interestCalculationDaysInYearType.id,
+ });
+ }
}
/**
diff --git a/src/app/deposits/recurring-deposits/recurring-deposits-account-view/general-tab/general-tab.component.html b/src/app/deposits/recurring-deposits/recurring-deposits-account-view/general-tab/general-tab.component.html
index 5749e2b76..f83563f52 100644
--- a/src/app/deposits/recurring-deposits/recurring-deposits-account-view/general-tab/general-tab.component.html
+++ b/src/app/deposits/recurring-deposits/recurring-deposits-account-view/general-tab/general-tab.component.html
@@ -3,9 +3,18 @@
-
+
+
+ | {{"labels.inputs.External Id" | translate }} |
+
+
+
+
+ {{"labels.inputs.Not Available" | translate}}
+ |
+
| {{"labels.inputs.Field Officer" | translate }} |
{{recurringDepositsAccountData.fieldOfficerName}} |