table changes on Maker-Checker workflow for Products, with approval-based updates and product locking to prevent concurrent edits

This commit is contained in:
keshav898966
2026-07-06 17:54:27 +05:30
parent 1ea4cfe8d8
commit 96c4a28c0f
2 changed files with 4 additions and 2 deletions
@@ -274,7 +274,8 @@ export class EditFixedDepositProductComponent {
...this.fixedDepositProduct,
charts: this.fixedDepositProductCharts,
charges: (this.fixedDepositProduct.charges ?? []).map((charge: any) => ({ id: charge.id })),
locale: this.settingsService.language.code
locale: this.settingsService.language.code,
dateFormat: this.settingsService.dateFormat
});
delete fixedDepositProduct.advancedAccountingRules;
this.productsService
@@ -245,7 +245,8 @@ export class EditRecurringDepositProductComponent {
const recurringDepositProduct: any = this.pruneEmptyValues({
...this.recurringDepositProduct,
charges: (this.recurringDepositProduct.charges ?? []).map((charge: any) => ({ id: charge.id })),
locale: this.settingsService.language.code
locale: this.settingsService.language.code,
dateFormat: this.settingsService.dateFormat
});
if (!recurringDepositProduct.description) {
recurringDepositProduct.description = '';