table changes on Maker-Checker workflow for Products, with approval-based updates and product locking to prevent concurrent edits
This commit is contained in:
+2
-1
@@ -274,7 +274,8 @@ export class EditFixedDepositProductComponent {
|
|||||||
...this.fixedDepositProduct,
|
...this.fixedDepositProduct,
|
||||||
charts: this.fixedDepositProductCharts,
|
charts: this.fixedDepositProductCharts,
|
||||||
charges: (this.fixedDepositProduct.charges ?? []).map((charge: any) => ({ id: charge.id })),
|
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;
|
delete fixedDepositProduct.advancedAccountingRules;
|
||||||
this.productsService
|
this.productsService
|
||||||
|
|||||||
+2
-1
@@ -245,7 +245,8 @@ export class EditRecurringDepositProductComponent {
|
|||||||
const recurringDepositProduct: any = this.pruneEmptyValues({
|
const recurringDepositProduct: any = this.pruneEmptyValues({
|
||||||
...this.recurringDepositProduct,
|
...this.recurringDepositProduct,
|
||||||
charges: (this.recurringDepositProduct.charges ?? []).map((charge: any) => ({ id: charge.id })),
|
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) {
|
if (!recurringDepositProduct.description) {
|
||||||
recurringDepositProduct.description = '';
|
recurringDepositProduct.description = '';
|
||||||
|
|||||||
Reference in New Issue
Block a user