Skip to content

Commit

Permalink
Merge pull request #52890 from callstack-internal/add-amex-feed-new-o…
Browse files Browse the repository at this point in the history
…ption

[Internal QA]: Add amex custom feed new option
  • Loading branch information
mountiny authored Nov 21, 2024
2 parents 156be46 a5f1064 commit 76e0d13
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/CONST.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2843,6 2843,7 @@ const CONST = {
AMEX_CUSTOM_FEED: {
CORPORATE: 'American Express Corporate Cards',
BUSINESS: 'American Express Business Cards',
PERSONAL: 'American Express Personal Cards',
},
DELETE_TRANSACTIONS: {
RESTRICT: 'corporate',
Expand Down
1 change: 1 addition & 0 deletions src/languages/en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3284,6 3284,7 @@ const translations = {
},
amexCorporate: 'Select this if the front of your cards say “Corporate”',
amexBusiness: 'Select this if the front of your cards say “Business”',
amexPersonal: 'Select this if your cards are personal',
error: {
pleaseSelectProvider: 'Please select a card provider before continuing.',
pleaseSelectBankAccount: 'Please select a bank account before continuing.',
Expand Down
1 change: 1 addition & 0 deletions src/languages/es.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3324,6 3324,7 @@ const translations = {
},
amexCorporate: 'Seleccione esto si el frente de sus tarjetas dice “Corporativa”',
amexBusiness: 'Seleccione esta opción si el frente de sus tarjetas dice “Negocios”',
amexPersonal: 'Selecciona esta opción si tus tarjetas son personales',
error: {
pleaseSelectProvider: 'Seleccione un proveedor de tarjetas antes de continuar.',
pleaseSelectBankAccount: 'Seleccione una cuenta bancaria antes de continuar.',
Expand Down
7 changes: 7 additions & 0 deletions src/pages/workspace/companyCards/addNew/AmexCustomFeed.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 59,13 @@ function AmexCustomFeed() {
keyForList: CONST.COMPANY_CARDS.AMEX_CUSTOM_FEED.BUSINESS,
isSelected: typeSelected === CONST.COMPANY_CARDS.AMEX_CUSTOM_FEED.BUSINESS,
},
{
value: CONST.COMPANY_CARDS.AMEX_CUSTOM_FEED.PERSONAL,
text: CONST.COMPANY_CARDS.AMEX_CUSTOM_FEED.PERSONAL,
alternateText: translate('workspace.companyCards.addNewCard.amexPersonal'),
keyForList: CONST.COMPANY_CARDS.AMEX_CUSTOM_FEED.PERSONAL,
isSelected: typeSelected === CONST.COMPANY_CARDS.AMEX_CUSTOM_FEED.PERSONAL,
},
];

return (
Expand Down

0 comments on commit 76e0d13

Please sign in to comment.