Skip to content

Commit 8edb23d

Browse files
authored
Merge pull request Expensify#72880 from callstack-internal/add-billing-account-for-uber
2 parents 91d4372 + 0f0b768 commit 8edb23d

23 files changed

Lines changed: 271 additions & 3 deletions

File tree

src/ROUTES.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2272,6 +2272,10 @@ const ROUTES = {
22722272
return getUrlWithBackToParam(`workspaces/${policyID}/receipt-partners/${integration}/invite`, backTo);
22732273
},
22742274
},
2275+
WORKSPACE_RECEIPT_PARTNERS_CHANGE_BILLING_ACCOUNT: {
2276+
route: 'workspaces/:policyID/receipt-partners/:integration/billing-account',
2277+
getRoute: (policyID: string, integration: string) => `workspaces/${policyID}/receipt-partners/${integration}/billing-account` as const,
2278+
},
22752279
WORKSPACE_RECEIPT_PARTNERS_INVITE_EDIT: {
22762280
route: 'workspaces/:policyID/receipt-partners/:integration/invite/edit',
22772281
getRoute: (policyID: string | undefined, integration: string, backTo?: string) => {

src/SCREENS.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -668,6 +668,7 @@ const SCREENS = {
668668
RECEIPT_PARTNERS: 'Workspace_Receipt_Partners',
669669
RECEIPT_PARTNERS_INVITE: 'Workspace_Receipt_Partners_Invite',
670670
RECEIPT_PARTNERS_INVITE_EDIT: 'Workspace_Receipt_Partners_Invite_Edit',
671+
RECEIPT_PARTNERS_CHANGE_BILLING_ACCOUNT: 'Workspace_Receipt_Partners_Change_Billing_Account',
671672
RULES: 'Policy_Rules',
672673
REPORTS_DEFAULT_TITLE: 'Reports_Default_Title',
673674
RULES_AUTO_APPROVE_REPORTS_UNDER: 'Rules_Auto_Approve_Reports_Under',

src/languages/de.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3665,6 +3665,8 @@ ${amount} für ${merchant} - ${date}`,
36653665
[CONST.POLICY.RECEIPT_PARTNERS.UBER_EMPLOYEE_STATUS.LINKED_PENDING_APPROVAL]: 'Ausstehend',
36663666
[CONST.POLICY.RECEIPT_PARTNERS.UBER_EMPLOYEE_STATUS.SUSPENDED]: 'Gesperrt',
36673667
},
3668+
centralBillingAccount: 'Zentrales Abrechnungskonto',
3669+
centralBillingDescription: 'Wählen Sie, wohin alle Uber-Belege importiert werden sollen.',
36683670
invitationFailure: 'Der Teilnehmer konnte nicht zu Uber for Business eingeladen werden.',
36693671
autoInvite: 'Neue Workspace-Mitglieder zu Uber for Business einladen',
36703672
autoRemove: 'Entfernte Workspace-Mitglieder von Uber for Business deaktivieren',

src/languages/en.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3644,6 +3644,8 @@ const translations = {
36443644
[CONST.POLICY.RECEIPT_PARTNERS.UBER_EMPLOYEE_STATUS.LINKED_PENDING_APPROVAL]: 'Pending',
36453645
[CONST.POLICY.RECEIPT_PARTNERS.UBER_EMPLOYEE_STATUS.SUSPENDED]: 'Suspended',
36463646
},
3647+
centralBillingAccount: 'Central billing account',
3648+
centralBillingDescription: 'Choose where to import all Uber receipts.',
36473649
invitationFailure: 'Failed to invite member to Uber for Business',
36483650
autoInvite: 'Invite new workspace members to Uber for Business',
36493651
autoRemove: 'Deactivate removed workspace members from Uber for Business',

src/languages/es.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3642,6 +3642,8 @@ ${amount} para ${merchant} - ${date}`,
36423642
[CONST.POLICY.RECEIPT_PARTNERS.UBER_EMPLOYEE_STATUS.LINKED_PENDING_APPROVAL]: 'Pendiente',
36433643
[CONST.POLICY.RECEIPT_PARTNERS.UBER_EMPLOYEE_STATUS.SUSPENDED]: 'Suspendido',
36443644
},
3645+
centralBillingAccount: 'Cuenta de facturación central',
3646+
centralBillingDescription: 'Elija dónde importar todos los recibos de Uber.',
36453647
invitationFailure: 'Error al invitar miembro a Uber for Business',
36463648
autoInvite: 'Invitar a nuevos miembros del espacio de trabajo a Uber para Empresas',
36473649
autoRemove: 'Desactivar miembros del espacio de trabajo eliminados de Uber para Empresas',

src/languages/fr.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3666,6 +3666,8 @@ ${amount} pour ${merchant} - ${date}`,
36663666
[CONST.POLICY.RECEIPT_PARTNERS.UBER_EMPLOYEE_STATUS.LINKED_PENDING_APPROVAL]: 'En attente',
36673667
[CONST.POLICY.RECEIPT_PARTNERS.UBER_EMPLOYEE_STATUS.SUSPENDED]: 'Suspendu',
36683668
},
3669+
centralBillingAccount: 'Compte de facturation central',
3670+
centralBillingDescription: 'Choisir où importer tous les reçus Uber.',
36693671
invitationFailure: "Impossible d'inviter un membre sur Uber for Business.",
36703672
autoInvite: "Inviter de nouveaux membres de l'espace de travail sur Uber",
36713673
autoRemove: "Désactiver les membres supprimés de l'espace de travail sur Uber",

src/languages/it.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3674,6 +3674,8 @@ ${amount} per ${merchant} - ${date}`,
36743674
[CONST.POLICY.RECEIPT_PARTNERS.UBER_EMPLOYEE_STATUS.LINKED_PENDING_APPROVAL]: 'In attesa',
36753675
[CONST.POLICY.RECEIPT_PARTNERS.UBER_EMPLOYEE_STATUS.SUSPENDED]: 'Sospeso',
36763676
},
3677+
centralBillingAccount: 'Conto di fatturazione centrale',
3678+
centralBillingDescription: 'Scegli dove importare tutte le ricevute Uber.',
36773679
invitationFailure: 'Impossibile inviare il membro a Uber for Business',
36783680
autoInvite: "Invita nuovi membri dell'area di lavoro su Uber for Business",
36793681
autoRemove: "Disattiva i membri dell'area di lavoro rimossi da Uber for Business",

src/languages/ja.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3653,6 +3653,8 @@ ${date} - ${merchant}に${amount}`,
36533653
[CONST.POLICY.RECEIPT_PARTNERS.UBER_EMPLOYEE_STATUS.LINKED_PENDING_APPROVAL]: '保留中',
36543654
[CONST.POLICY.RECEIPT_PARTNERS.UBER_EMPLOYEE_STATUS.SUSPENDED]: '停止中',
36553655
},
3656+
centralBillingAccount: '中央請求アカウント',
3657+
centralBillingDescription: 'Uberの領収書をすべてインポートする場所を選択してください。',
36563658
invitationFailure: 'メンバーを Uber for Business に招待できません。',
36573659
autoInvite: 'Uber for Business に新しいワークスペースメンバーを招待する',
36583660
autoRemove: 'Uber for Business から削除されたワークスペースメンバーを非アクティブ化する',

src/languages/nl.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3675,6 +3675,8 @@ ${amount} voor ${merchant} - ${date}`,
36753675
[CONST.POLICY.RECEIPT_PARTNERS.UBER_EMPLOYEE_STATUS.LINKED_PENDING_APPROVAL]: 'In behandeling',
36763676
[CONST.POLICY.RECEIPT_PARTNERS.UBER_EMPLOYEE_STATUS.SUSPENDED]: 'Opgeschort',
36773677
},
3678+
centralBillingAccount: 'Central faktureringskonto',
3679+
centralBillingDescription: 'Vælg, hvor alle Uber-kvitteringer skal importeres.',
36783680
invitationFailure: 'Kan geen lid uitnodigen voor Uber for Business',
36793681
autoInvite: 'Nodig nieuwe werkruimteleden uit voor Uber for Business',
36803682
autoRemove: 'Deactiveer verwijderde werkruimteleden van Uber for Business',

src/languages/pl.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3667,6 +3667,8 @@ ${amount} dla ${merchant} - ${date}`,
36673667
[CONST.POLICY.RECEIPT_PARTNERS.UBER_EMPLOYEE_STATUS.LINKED_PENDING_APPROVAL]: 'Oczekujące',
36683668
[CONST.POLICY.RECEIPT_PARTNERS.UBER_EMPLOYEE_STATUS.SUSPENDED]: 'Zawieszone',
36693669
},
3670+
centralBillingAccount: 'Centralne konto rozliczeniowe',
3671+
centralBillingDescription: 'Wybierz, gdzie importować wszystkie paragony z Ubera.',
36703672
invitationFailure: 'Nie można zaprosić członka do Ubera dla Firm.',
36713673
autoInvite: 'Zaproś nowych członków przestrzeni roboczej do Ubera dla Firm',
36723674
autoRemove: 'Dezaktywuj usuniętych członków przestrzeni roboczej w Uberze dla Firm',

0 commit comments

Comments
 (0)