Skip to content

Commit 76e0d13

Browse files
authored
Merge pull request #52890 from callstack-internal/add-amex-feed-new-option
[Internal QA]: Add amex custom feed new option
2 parents 156be46 + a5f1064 commit 76e0d13

File tree

4 files changed

+10
-0
lines changed

4 files changed

+10
-0
lines changed

src/CONST.ts

+1
Original file line numberDiff line numberDiff line change
@@ -2843,6 +2843,7 @@ const CONST = {
28432843
AMEX_CUSTOM_FEED: {
28442844
CORPORATE: 'American Express Corporate Cards',
28452845
BUSINESS: 'American Express Business Cards',
2846+
PERSONAL: 'American Express Personal Cards',
28462847
},
28472848
DELETE_TRANSACTIONS: {
28482849
RESTRICT: 'corporate',

src/languages/en.ts

+1
Original file line numberDiff line numberDiff line change
@@ -3284,6 +3284,7 @@ const translations = {
32843284
},
32853285
amexCorporate: 'Select this if the front of your cards say “Corporate”',
32863286
amexBusiness: 'Select this if the front of your cards say “Business”',
3287+
amexPersonal: 'Select this if your cards are personal',
32873288
error: {
32883289
pleaseSelectProvider: 'Please select a card provider before continuing.',
32893290
pleaseSelectBankAccount: 'Please select a bank account before continuing.',

src/languages/es.ts

+1
Original file line numberDiff line numberDiff line change
@@ -3324,6 +3324,7 @@ const translations = {
33243324
},
33253325
amexCorporate: 'Seleccione esto si el frente de sus tarjetas dice “Corporativa”',
33263326
amexBusiness: 'Seleccione esta opción si el frente de sus tarjetas dice “Negocios”',
3327+
amexPersonal: 'Selecciona esta opción si tus tarjetas son personales',
33273328
error: {
33283329
pleaseSelectProvider: 'Seleccione un proveedor de tarjetas antes de continuar.',
33293330
pleaseSelectBankAccount: 'Seleccione una cuenta bancaria antes de continuar.',

src/pages/workspace/companyCards/addNew/AmexCustomFeed.tsx

+7
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,13 @@ function AmexCustomFeed() {
5959
keyForList: CONST.COMPANY_CARDS.AMEX_CUSTOM_FEED.BUSINESS,
6060
isSelected: typeSelected === CONST.COMPANY_CARDS.AMEX_CUSTOM_FEED.BUSINESS,
6161
},
62+
{
63+
value: CONST.COMPANY_CARDS.AMEX_CUSTOM_FEED.PERSONAL,
64+
text: CONST.COMPANY_CARDS.AMEX_CUSTOM_FEED.PERSONAL,
65+
alternateText: translate('workspace.companyCards.addNewCard.amexPersonal'),
66+
keyForList: CONST.COMPANY_CARDS.AMEX_CUSTOM_FEED.PERSONAL,
67+
isSelected: typeSelected === CONST.COMPANY_CARDS.AMEX_CUSTOM_FEED.PERSONAL,
68+
},
6269
];
6370

6471
return (

0 commit comments

Comments
 (0)