Skip to content

Commit

Permalink
lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
anishfyle committed Nov 26, 2024
1 parent dfde884 commit 3b459da
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/app/core/models/common/advanced-settings.model.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,9 @@ export class AdvancedSettingsModel {
// Filter out options based on cccExportType and appName
if (cccExportType && ['netsuite', 'qbo', 'sage intacct'].includes(appName.toLowerCase())) {
return defaultOptions; // Allow all options including 'card_number'
} else {
return defaultOptions.filter(option => option !== 'card_number'); // Omit 'card_number' for other apps
}
return defaultOptions.filter(option => option !== 'card_number'); // Omit 'card_number' for other apps

}

static formatMemoPreview(memoStructure: string[], defaultMemoOptions: string[]): [string, string[]] {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,9 @@ export class NetsuiteAdvancedSettingModel extends HelperUtility {
// Filter out options based on cccExportType and appName
if (cccExportType && [AppName.NETSUITE, AppName.QBO, AppName.INTACCT].includes(appName as AppName)) {
return defaultOptions; // Allow all options including 'card_number'
} else {
return defaultOptions.filter(option => option !== 'card_number'); // Omit 'card_number' for other apps
}
return defaultOptions.filter(option => option !== 'card_number'); // Omit 'card_number' for other apps

}

static getPaymentSyncOptions(): SelectFormOption[] {
Expand Down

0 comments on commit 3b459da

Please sign in to comment.