From 1077e679cd184798bb57963a22d6072180b58985 Mon Sep 17 00:00:00 2001 From: Anish Kr Singh <116036738+anishfyle@users.noreply.github.com> Date: Mon, 16 Sep 2024 11:49:48 +0530 Subject: [PATCH] fix: ccc date options for charge card transaction (#955) --- .../intacct-export-settings.component.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/app/integrations/intacct/intacct-shared/intacct-export-settings/intacct-export-settings.component.ts b/src/app/integrations/intacct/intacct-shared/intacct-export-settings/intacct-export-settings.component.ts index 5c7b8eb3e..de3649a05 100644 --- a/src/app/integrations/intacct/intacct-shared/intacct-export-settings/intacct-export-settings.component.ts +++ b/src/app/integrations/intacct/intacct-shared/intacct-export-settings/intacct-export-settings.component.ts @@ -528,6 +528,9 @@ export class IntacctExportSettingsComponent implements OnInit { if (brandingConfig.brandId==='fyle') { this.cccExpenseGroupingDateOptions = IntacctExportSettingModel.getExpenseGroupingDateOptions(); this.cccExpenseGroupingDateOptions = ExportSettingModel.constructGroupingDateOptions(cccExportGroup, this.cccExpenseGroupingDateOptions); + if (this.exportSettingsForm?.value.cccExportType === IntacctCorporateCreditCardExpensesObject.CHARGE_CARD_TRANSACTION) { + this.setCCExpenseDateOptions(this.exportSettingsForm?.value.cccExportType); + } } }); }