Skip to content

Commit

Permalink
add xero config
Browse files Browse the repository at this point in the history
  • Loading branch information
rushatgabhane committed May 1, 2024
1 parent 84520f4 commit 5a3d2d4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions src/CONST.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1265,6 +1265,10 @@ const CONST = {
COLLECTION_ACCOUNT_ID: 'collectionAccountID',
},

XERO_CONFIG: {
SYNC_TAXES: 'syncTaxes',
},

QUICKBOOKS_EXPORT_ENTITY: {
VENDOR_BILL: 'vendorBill',
CHECK: 'check',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ function XeroTaxesConfigurationPage({policy}: WithPolicyProps) {
Connections.updatePolicyConnectionConfig(
policyID,
CONST.POLICY.CONNECTIONS.NAME.XERO,
CONST.QUICK_BOOKS_CONFIG.SYNC_TAXES,
CONST.XERO_CONFIG.SYNC_TAXES,
isSwitchOn ? CONST.INTEGRATION_ENTITY_MAP_TYPES.NONE : CONST.INTEGRATION_ENTITY_MAP_TYPES.TAG,
)
}
Expand Down

0 comments on commit 5a3d2d4

Please sign in to comment.