diff --git a/src/app/core/models/business-central/business-central-configuration/business-central-advanced-settings.model.ts b/src/app/core/models/business-central/business-central-configuration/business-central-advanced-settings.model.ts index 10291fd42..dcd9e5d81 100644 --- a/src/app/core/models/business-central/business-central-configuration/business-central-advanced-settings.model.ts +++ b/src/app/core/models/business-central/business-central-configuration/business-central-advanced-settings.model.ts @@ -21,7 +21,7 @@ export interface BusinessCentralAdvancedSettingsPost extends BusinessCentralAdva export class BusinessCentralAdvancedSettingsModel { static mapAPIResponseToFormGroup(advancedSettings: BusinessCentralAdvancedSettingsGet | null, isSkipExportEnabled: boolean): FormGroup { - const defaultMemoOptions: string[] = ['employee_email', 'purpose', 'category', 'spent_on', 'report_number', 'expense_link']; + const defaultMemoOptions: string[] = ['employee_email', 'employee_name','purpose', 'category', 'spent_on', 'report_number', 'expense_link', 'card_number']; return new FormGroup({ memoStructure: new FormControl(advancedSettings?.expense_memo_structure ? advancedSettings?.expense_memo_structure : defaultMemoOptions), scheduleEnabled: new FormControl(advancedSettings?.schedule_is_enabled ? true : false), diff --git a/src/app/core/models/sage300/sage300-configuration/sage300-advanced-settings.model.ts b/src/app/core/models/sage300/sage300-configuration/sage300-advanced-settings.model.ts index ff8962245..f32cc7947 100644 --- a/src/app/core/models/sage300/sage300-configuration/sage300-advanced-settings.model.ts +++ b/src/app/core/models/sage300/sage300-configuration/sage300-advanced-settings.model.ts @@ -21,7 +21,7 @@ export interface Sage300AdvancedSettingPost extends Sage300AdvancedSetting { } export class Sage300AdvancedSettingModel { static mapAPIResponseToFormGroup(advancedSettings: Sage300AdvancedSettingGet | null, isSkipExportEnabled: boolean): FormGroup { - const defaultMemoOptions: string[] = ['employee_email', 'purpose', 'category', 'spent_on', 'report_number', 'expense_link']; + const defaultMemoOptions: string[] = ['employee_email', 'employee_name','purpose', 'category', 'spent_on', 'report_number', 'expense_link', 'card_number']; return new FormGroup({ memoStructure: new FormControl(advancedSettings?.memo_structure ? advancedSettings?.memo_structure : defaultMemoOptions), scheduleEnabled: new FormControl(advancedSettings?.schedule_is_enabled ? true : false), diff --git a/src/app/integrations/business-central/business-central-shared/business-central-advanced-settings/business-central-advanced-settings.component.ts b/src/app/integrations/business-central/business-central-shared/business-central-advanced-settings/business-central-advanced-settings.component.ts index 783650a87..8e6e45d3b 100644 --- a/src/app/integrations/business-central/business-central-shared/business-central-advanced-settings/business-central-advanced-settings.component.ts +++ b/src/app/integrations/business-central/business-central-shared/business-central-advanced-settings/business-central-advanced-settings.component.ts @@ -47,7 +47,7 @@ export class BusinessCentralAdvancedSettingsComponent implements OnInit { ConfigurationCtaText = ConfigurationCta; - defaultMemoOptions: string[] = ['employee_email', 'purpose', 'category', 'spent_on', 'report_number']; + defaultMemoOptions: string[] = ['employee_email', 'employee_name','purpose', 'category', 'spent_on', 'report_number', 'card_number']; memoPreviewText: string; diff --git a/src/app/integrations/sage300/sage300-shared/sage300-advanced-settings/sage300-advanced-settings.component.ts b/src/app/integrations/sage300/sage300-shared/sage300-advanced-settings/sage300-advanced-settings.component.ts index 8511d26ad..d0d37440b 100644 --- a/src/app/integrations/sage300/sage300-shared/sage300-advanced-settings/sage300-advanced-settings.component.ts +++ b/src/app/integrations/sage300/sage300-shared/sage300-advanced-settings/sage300-advanced-settings.component.ts @@ -52,7 +52,7 @@ export class Sage300AdvancedSettingsComponent implements OnInit { ConfigurationCtaText = ConfigurationCta; - defaultMemoOptions: string[] = ['employee_email', 'purpose', 'category', 'spent_on', 'report_number', 'expense_link']; + defaultMemoOptions: string[] = ['employee_email', 'employee_name','purpose', 'category', 'spent_on', 'report_number', 'expense_link', 'card_number']; memoPreviewText: string;