diff --git a/src/app/current-accounts/current-account-stepper/current-account-details-step/current-account-details-step.component.html b/src/app/current-accounts/current-account-stepper/current-account-details-step/current-account-details-step.component.html
index 435884bcb..c040b6031 100644
--- a/src/app/current-accounts/current-account-stepper/current-account-details-step/current-account-details-step.component.html
+++ b/src/app/current-accounts/current-account-stepper/current-account-details-step/current-account-details-step.component.html
@@ -155,12 +155,13 @@
-
- Share Linking Enabled
-
- {{ productTemplate.shareLinkingEnabled ? 'Yes' : 'No' }}
-
-
+
+ Share Linking Enabled
+
+ Yes
+ No
+
+
diff --git a/src/app/current-accounts/current-account-stepper/current-account-details-step/current-account-details-step.component.ts b/src/app/current-accounts/current-account-stepper/current-account-details-step/current-account-details-step.component.ts
index 6d0bc2920..51ab90f3f 100644
--- a/src/app/current-accounts/current-account-stepper/current-account-details-step/current-account-details-step.component.ts
+++ b/src/app/current-accounts/current-account-stepper/current-account-details-step/current-account-details-step.component.ts
@@ -67,6 +67,8 @@ export class CurrentAccountDetailsStepComponent implements OnInit {
introducerCif: string | null = null;
private isEditMode = false;
+ shareLinkingEnabled = false;
+
// ── Non-Individual (existing) ──────────────────────────────────────────
isNonIndividualClient = false;
relatedClients: Array<{
@@ -280,6 +282,7 @@ export class CurrentAccountDetailsStepComponent implements OnInit {
this.currentAccountProductTemplate.emit(response);
this.fieldOfficerData = response.fieldOfficerOptions;
this.currentAccountProductSelected = true;
+ this.shareLinkingEnabled = !!response.shareLinkingEnabled;
this.currentAccountDetailsForm.patchValue({
balanceSwapOption: !!response.balanceSwapOption,
msme: !!response.msme,
@@ -382,6 +385,7 @@ export class CurrentAccountDetailsStepComponent implements OnInit {
this.introducerName = ea.introducerName ?? null;
this.introducerCif = ea.introducerCifNumber ?? null;
}
+ this.shareLinkingEnabled = ea.shareLinkingEnabled !== undefined ? !!ea.shareLinkingEnabled : !!ea.isLinkingEnable;
this.currentAccountDetailsForm.patchValue({
balanceSwapOption: !!ea.balanceSwapOption,
msme: !!ea.msme,
@@ -664,6 +668,7 @@ export class CurrentAccountDetailsStepComponent implements OnInit {
get currentAccountDetails() {
const value = this.currentAccountDetailsForm.getRawValue();
+ value.shareLinkingEnabled = this.shareLinkingEnabled;
if (this.introducerId) {
value.introducerId = this.introducerId;
value.introducerName = this.introducerName;
diff --git a/src/app/current-accounts/current-account-stepper/current-account-preview-step/current-account-preview-step.component.html b/src/app/current-accounts/current-account-stepper/current-account-preview-step/current-account-preview-step.component.html
index 12a853a84..9e07474ba 100644
--- a/src/app/current-accounts/current-account-stepper/current-account-preview-step/current-account-preview-step.component.html
+++ b/src/app/current-accounts/current-account-stepper/current-account-preview-step/current-account-preview-step.component.html
@@ -131,9 +131,18 @@
Share Linking Enabled
- {{ currentAccountProductTemplate?.shareLinkingEnabled | yesNo }}
+ {{
+ (currentAccount?.shareLinkingEnabled !== undefined
+ ? currentAccount.shareLinkingEnabled
+ : currentAccountProductTemplate?.shareLinkingEnabled
+ ) | yesNo
+ }}
diff --git a/src/environments/.env.ts b/src/environments/.env.ts
index 9ff4425a9..7600832f3 100644
--- a/src/environments/.env.ts
+++ b/src/environments/.env.ts
@@ -9,8 +9,8 @@
/* tslint:disable */
export default {
'mifos_x': {
- 'version': '260619',
- 'hash': '822fa4c6'
+ 'version': '260626',
+ 'hash': 'f3df6264'
},
'allow_switching_backend_instance': true
};