Skip to content

Commit 361c5b0

Browse files
authored
Merge pull request #87533 from Expensify/claude-addHandwrittenReceiptProhibitedExpense
2 parents d2c0d7a + 9ea9fc3 commit 361c5b0

13 files changed

Lines changed: 39 additions & 0 deletions

File tree

src/CONST/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3739,6 +3739,7 @@ const CONST = {
37393739
GAMBLING: 'gambling',
37403740
TOBACCO: 'tobacco',
37413741
ADULT_ENTERTAINMENT: 'adultEntertainment',
3742+
HANDWRITTEN_RECEIPT: 'handwrittenReceipt',
37423743
},
37433744
RECEIPT_PARTNERS: {
37443745
NAME: {UBER: 'uber'},
@@ -3904,6 +3905,7 @@ const CONST = {
39043905
gambling: true,
39053906
tobacco: false,
39063907
adultEntertainment: true,
3908+
handwrittenReceipt: false,
39073909
},
39083910
DEFAULT_BILLABLE: false,
39093911
DEFAULT_REIMBURSABLE: true,

src/languages/de.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6785,6 +6785,7 @@ Fordern Sie Spesendetails wie Belege und Beschreibungen an, legen Sie Limits und
67856785
gambling: 'Glücksspiel',
67866786
tobacco: 'Tabak',
67876787
adultEntertainment: 'Erwachsenenunterhaltung',
6788+
handwrittenReceipt: 'Handschriftliche Belege',
67886789
requireCompanyCard: 'Firmenkarten für alle Käufe vorschreiben',
67896790
requireCompanyCardDescription: 'Kennzeichne alle Barausgaben, einschließlich Kilometer- und Tagegeldspesen.',
67906791
requireCompanyCardDisabledTooltip: 'Aktiviere Firmenkarten (unter Weitere Funktionen), um dies freizuschalten.',
@@ -8439,6 +8440,8 @@ Fügen Sie weitere Ausgabelimits hinzu, um den Cashflow Ihres Unternehmens zu sc
84398440
return `Erwachsenenunterhaltung`;
84408441
case 'hotelIncidentals':
84418442
return `Nebenkosten im Hotel`;
8443+
case 'handwrittenReceipt':
8444+
return `handschriftliche Belege`;
84428445
default:
84438446
return `${prohibitedExpenseType}`;
84448447
}

src/languages/en.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6829,6 +6829,7 @@ const translations = {
68296829
gambling: 'Gambling',
68306830
tobacco: 'Tobacco',
68316831
adultEntertainment: 'Adult entertainment',
6832+
handwrittenReceipt: 'Handwritten receipts',
68326833
requireCompanyCard: 'Require company cards for all purchases',
68336834
requireCompanyCardDescription: 'Flag all cash spend, including mileage and per-diem expenses.',
68346835
requireCompanyCardDisabledTooltip: 'Enable Company cards (under More features) to unlock.',
@@ -8441,6 +8442,8 @@ const translations = {
84418442
return `adult entertainment`;
84428443
case 'hotelIncidentals':
84438444
return `hotel incidentals`;
8445+
case 'handwrittenReceipt':
8446+
return `handwritten receipts`;
84448447
default:
84458448
return `${prohibitedExpenseType}`;
84468449
}

src/languages/es.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6720,6 +6720,7 @@ ${amount} para ${merchant} - ${date}`,
67206720
gambling: 'Juegos de apuestas',
67216721
tobacco: 'Tabaco',
67226722
adultEntertainment: 'Entretenimiento para adultos',
6723+
handwrittenReceipt: 'Recibos escritos a mano',
67236724
requireCompanyCard: 'Requerir que todas las compras se hagan con la tarjeta de empresa',
67246725
requireCompanyCardDescription: 'Marca todo gasto en efectivo, incluyendo kilometraje y gastos per diem.',
67256726
requireCompanyCardDisabledTooltip: 'Habilita las tarjetas de empresa (bajo Más características) para desbloquearlo.',
@@ -8674,6 +8675,8 @@ ${amount} para ${merchant} - ${date}`,
86748675
return `entretenimiento para adultos`;
86758676
case 'hotelIncidentals':
86768677
return `gastos adicionales de hotel`;
8678+
case 'handwrittenReceipt':
8679+
return `recibos escritos a mano`;
86778680
default:
86788681
return `${prohibitedExpenseType}`;
86798682
}

src/languages/fr.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6806,6 +6806,7 @@ Rendez obligatoires des informations de dépense comme les reçus et les descrip
68066806
gambling: 'Jeux d’argent',
68076807
tobacco: 'Tabac',
68086808
adultEntertainment: 'Divertissement pour adultes',
6809+
handwrittenReceipt: 'Reçus manuscrits',
68096810
requireCompanyCard: "Exiger l'utilisation de cartes d'entreprise pour tous les achats",
68106811
requireCompanyCardDescription: 'Signaler toutes les dépenses en espèces, y compris le kilométrage et les indemnités journalières.',
68116812
requireCompanyCardDisabledTooltip: 'Activez les cartes d’entreprise (dans Plus de fonctionnalités) pour déverrouiller.',
@@ -8462,6 +8463,8 @@ Ajoutez davantage de règles de dépenses pour protéger la trésorerie de l’e
84628463
return `divertissement pour adultes`;
84638464
case 'hotelIncidentals':
84648465
return `Frais annexes d'hôtel`;
8466+
case 'handwrittenReceipt':
8467+
return `reçus manuscrits`;
84658468
default:
84668469
return `${prohibitedExpenseType}`;
84678470
}

src/languages/it.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6770,6 +6770,7 @@ Richiedi dettagli sulle spese come ricevute e descrizioni, imposta limiti e valo
67706770
gambling: 'Gioco d’azzardo',
67716771
tobacco: 'Tabacco',
67726772
adultEntertainment: 'Intrattenimento per adulti',
6773+
handwrittenReceipt: 'Ricevute scritte a mano',
67736774
requireCompanyCard: 'Richiedi le carte aziendali per tutti gli acquisti',
67746775
requireCompanyCardDescription: 'Contrassegna tutte le spese in contanti, inclusi chilometraggio e indennità giornaliere.',
67756776
requireCompanyCardDisabledTooltip: 'Abilita Carte aziendali (in Altre funzionalità) per sbloccare.',
@@ -8431,6 +8432,8 @@ Aggiungi altre regole di spesa per proteggere il flusso di cassa aziendale.`,
84318432
return `intrattenimento per adulti`;
84328433
case 'hotelIncidentals':
84338434
return `spese accessorie dell’hotel`;
8435+
case 'handwrittenReceipt':
8436+
return `ricevute scritte a mano`;
84348437
default:
84358438
return `${prohibitedExpenseType}`;
84368439
}

src/languages/ja.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6696,6 +6696,7 @@ ${reportName}
66966696
gambling: 'ギャンブル',
66976697
tobacco: 'たばこ',
66986698
adultEntertainment: 'アダルトエンターテインメント',
6699+
handwrittenReceipt: '手書きレシート',
66996700
requireCompanyCard: 'すべての購入に会社カードを必須にする',
67006701
requireCompanyCardDescription: 'マイレージや日当経費を含む、すべての現金支出にフラグを付ける。',
67016702
requireCompanyCardDisabledTooltip: 'ロック解除するには、「その他の機能」内の「会社カード」を有効にしてください。',
@@ -8326,6 +8327,8 @@ ${reportName}
83268327
return `アダルトエンターテインメント`;
83278328
case 'hotelIncidentals':
83288329
return `ホテル諸雑費`;
8330+
case 'handwrittenReceipt':
8331+
return `手書きレシート`;
83298332
default:
83308333
return `${prohibitedExpenseType}`;
83318334
}

src/languages/nl.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6750,6 +6750,7 @@ Vereis onkostendetails zoals bonnen en beschrijvingen, stel limieten en standaar
67506750
gambling: 'Gokken',
67516751
tobacco: 'Tabak',
67526752
adultEntertainment: 'Volwassenenentertainment',
6753+
handwrittenReceipt: 'Handgeschreven bonnen',
67536754
requireCompanyCard: 'Verplicht bedrijfskaarten voor alle aankopen',
67546755
requireCompanyCardDescription: 'Markeer alle contante uitgaven, inclusief kilometer- en dagvergoedingen.',
67556756
requireCompanyCardDisabledTooltip: 'Schakel Bedrijfskaarten in (onder Meer functies) om te ontgrendelen.',
@@ -8403,6 +8404,8 @@ er bestedingsregels toe om de kasstroom van het bedrijf te beschermen.`,
84038404
return `entertainment voor volwassenen`;
84048405
case 'hotelIncidentals':
84058406
return `hotelincidentals`;
8407+
case 'handwrittenReceipt':
8408+
return `handgeschreven bonnen`;
84068409
default:
84078410
return `${prohibitedExpenseType}`;
84088411
}

src/languages/pl.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6743,6 +6743,7 @@ Wymagaj szczegółów wydatków, takich jak paragony i opisy, ustawiaj limity i
67436743
gambling: 'Hazard',
67446744
tobacco: 'Tytoń',
67456745
adultEntertainment: 'Rozrywka dla dorosłych',
6746+
handwrittenReceipt: 'Odręczne paragony',
67466747
requireCompanyCard: 'Wymagaj kart służbowych dla wszystkich zakupów',
67476748
requireCompanyCardDescription: 'Oznacz wszystkie wydatki gotówkowe, w tym koszty za przejechane kilometry i ryczałty dzienne.',
67486749
requireCompanyCardDisabledTooltip: 'Włącz karty firmowe (w sekcji Więcej funkcji), aby odblokować.',
@@ -8389,6 +8390,8 @@ Dodaj więcej zasad wydatków, żeby chronić płynność finansową firmy.`,
83898390
return `rozrywka dla dorosłych`;
83908391
case 'hotelIncidentals':
83918392
return `dodatkowe opłaty hotelowe`;
8393+
case 'handwrittenReceipt':
8394+
return `odręczne paragony`;
83928395
default:
83938396
return `${prohibitedExpenseType}`;
83948397
}

src/languages/pt-BR.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6749,6 +6749,7 @@ Exija dados de despesas como recibos e descrições, defina limites e padrões e
67496749
gambling: 'Jogos de azar',
67506750
tobacco: 'Tabaco',
67516751
adultEntertainment: 'Entretenimento adulto',
6752+
handwrittenReceipt: 'Recibos manuscritos',
67526753
requireCompanyCard: 'Exigir cartões corporativos para todas as compras',
67536754
requireCompanyCardDescription: 'Sinalize todos os gastos em dinheiro, incluindo despesas com quilometragem e diárias.',
67546755
requireCompanyCardDisabledTooltip: 'Ative Cartões corporativos (em Mais recursos) para desbloquear.',
@@ -8396,6 +8397,8 @@ Adicione mais regras de gasto para proteger o fluxo de caixa da empresa.`,
83968397
return `entretenimento adulto`;
83978398
case 'hotelIncidentals':
83988399
return `despesas incidentais de hotel`;
8400+
case 'handwrittenReceipt':
8401+
return `recibos manuscritos`;
83998402
default:
84008403
return `${prohibitedExpenseType}`;
84018404
}

0 commit comments

Comments
 (0)