Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/CONST/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3671,6 +3671,7 @@ const CONST = {
GAMBLING: 'gambling',
TOBACCO: 'tobacco',
ADULT_ENTERTAINMENT: 'adultEntertainment',
HANDWRITTEN_RECEIPT: 'handwrittenReceipt',
},
RECEIPT_PARTNERS: {
NAME: {UBER: 'uber'},
Expand Down
3 changes: 3 additions & 0 deletions src/languages/de.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6706,6 +6706,7 @@ Fordern Sie Spesendetails wie Belege und Beschreibungen an, legen Sie Limits und
gambling: 'Glücksspiel',
tobacco: 'Tabak',
adultEntertainment: 'Erwachsenenunterhaltung',
handwrittenReceipt: 'Handschriftliche Belege',
requireCompanyCard: 'Firmenkarten für alle Käufe vorschreiben',
requireCompanyCardDescription: 'Kennzeichne alle Barausgaben, einschließlich Kilometer- und Tagegeldspesen.',
requireCompanyCardDisabledTooltip: 'Aktiviere Firmenkarten (unter Weitere Funktionen), um dies freizuschalten.',
Expand Down Expand Up @@ -8249,6 +8250,8 @@ Fügen Sie weitere Ausgabelimits hinzu, um den Cashflow Ihres Unternehmens zu sc
return `Erwachsenenunterhaltung`;
case 'hotelIncidentals':
return `Nebenkosten im Hotel`;
case 'handwrittenReceipt':
return `handschriftliche Belege`;
default:
return `${prohibitedExpenseType}`;
}
Expand Down
3 changes: 3 additions & 0 deletions src/languages/en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6674,6 +6674,7 @@ const translations = {
gambling: 'Gambling',
tobacco: 'Tobacco',
adultEntertainment: 'Adult entertainment',
handwrittenReceipt: 'Handwritten receipts',
requireCompanyCard: 'Require company cards for all purchases',
requireCompanyCardDescription: 'Flag all cash spend, including mileage and per-diem expenses.',
requireCompanyCardDisabledTooltip: 'Enable Company cards (under More features) to unlock.',
Expand Down Expand Up @@ -8215,6 +8216,8 @@ const translations = {
return `adult entertainment`;
case 'hotelIncidentals':
return `hotel incidentals`;
case 'handwrittenReceipt':
return `handwritten receipts`;
default:
return `${prohibitedExpenseType}`;
}
Expand Down
3 changes: 3 additions & 0 deletions src/languages/es.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6548,6 +6548,7 @@ ${amount} para ${merchant} - ${date}`,
gambling: 'Juegos de apuestas',
tobacco: 'Tabaco',
adultEntertainment: 'Entretenimiento para adultos',
handwrittenReceipt: 'Recibos escritos a mano',
requireCompanyCard: 'Requerir que todas las compras se hagan con la tarjeta de empresa',
requireCompanyCardDescription: 'Marca todo gasto en efectivo, incluyendo kilometraje y gastos per diem.',
requireCompanyCardDisabledTooltip: 'Habilita las tarjetas de empresa (bajo Más características) para desbloquearlo.',
Expand Down Expand Up @@ -8451,6 +8452,8 @@ ${amount} para ${merchant} - ${date}`,
return `entretenimiento para adultos`;
case 'hotelIncidentals':
return `gastos adicionales de hotel`;
case 'handwrittenReceipt':
return `recibos escritos a mano`;
default:
return `${prohibitedExpenseType}`;
}
Expand Down
3 changes: 3 additions & 0 deletions src/languages/fr.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6728,6 +6728,7 @@ Rendez obligatoires des informations de dépense comme les reçus et les descrip
gambling: 'Jeux d’argent',
tobacco: 'Tabac',
adultEntertainment: 'Divertissement pour adultes',
handwrittenReceipt: 'Reçus manuscrits',
requireCompanyCard: "Exiger l'utilisation de cartes d'entreprise pour tous les achats",
requireCompanyCardDescription: 'Signaler toutes les dépenses en espèces, y compris le kilométrage et les indemnités journalières.',
requireCompanyCardDisabledTooltip: 'Activez les cartes d’entreprise (dans Plus de fonctionnalités) pour déverrouiller.',
Expand Down Expand Up @@ -8273,6 +8274,8 @@ Ajoutez davantage de règles de dépenses pour protéger la trésorerie de l’e
return `divertissement pour adultes`;
case 'hotelIncidentals':
return `Frais annexes d'hôtel`;
case 'handwrittenReceipt':
return `reçus manuscrits`;
default:
return `${prohibitedExpenseType}`;
}
Expand Down
3 changes: 3 additions & 0 deletions src/languages/it.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6691,6 +6691,7 @@ Richiedi dettagli sulle spese come ricevute e descrizioni, imposta limiti e valo
gambling: 'Gioco d’azzardo',
tobacco: 'Tabacco',
adultEntertainment: 'Intrattenimento per adulti',
handwrittenReceipt: 'Ricevute scritte a mano',
requireCompanyCard: 'Richiedi le carte aziendali per tutti gli acquisti',
requireCompanyCardDescription: 'Contrassegna tutte le spese in contanti, inclusi chilometraggio e indennità giornaliere.',
requireCompanyCardDisabledTooltip: 'Abilita Carte aziendali (in Altre funzionalità) per sbloccare.',
Expand Down Expand Up @@ -8239,6 +8240,8 @@ Aggiungi altre regole di spesa per proteggere il flusso di cassa aziendale.`,
return `intrattenimento per adulti`;
case 'hotelIncidentals':
return `spese accessorie dell’hotel`;
case 'handwrittenReceipt':
return `ricevute scritte a mano`;
default:
return `${prohibitedExpenseType}`;
}
Expand Down
3 changes: 3 additions & 0 deletions src/languages/ja.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6619,6 +6619,7 @@ ${reportName}
gambling: 'ギャンブル',
tobacco: 'たばこ',
adultEntertainment: 'アダルトエンターテインメント',
handwrittenReceipt: '手書きレシート',
requireCompanyCard: 'すべての購入に会社カードを必須にする',
requireCompanyCardDescription: 'マイレージや日当経費を含む、すべての現金支出にフラグを付ける。',
requireCompanyCardDisabledTooltip: 'ロック解除するには、「その他の機能」内の「会社カード」を有効にしてください。',
Expand Down Expand Up @@ -8136,6 +8137,8 @@ ${reportName}
return `アダルトエンターテインメント`;
case 'hotelIncidentals':
return `ホテル諸雑費`;
case 'handwrittenReceipt':
return `手書きレシート`;
default:
return `${prohibitedExpenseType}`;
}
Expand Down
3 changes: 3 additions & 0 deletions src/languages/nl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6673,6 +6673,7 @@ Vereis onkostendetails zoals bonnen en beschrijvingen, stel limieten en standaar
gambling: 'Gokken',
tobacco: 'Tabak',
adultEntertainment: 'Volwassenenentertainment',
handwrittenReceipt: 'Handgeschreven bonnen',
requireCompanyCard: 'Verplicht bedrijfskaarten voor alle aankopen',
requireCompanyCardDescription: 'Markeer alle contante uitgaven, inclusief kilometer- en dagvergoedingen.',
requireCompanyCardDisabledTooltip: 'Schakel Bedrijfskaarten in (onder Meer functies) om te ontgrendelen.',
Expand Down Expand Up @@ -8215,6 +8216,8 @@ Voeg meer bestedingsregels toe om de kasstroom van het bedrijf te beschermen.`,
return `entertainment voor volwassenen`;
case 'hotelIncidentals':
return `hotelincidentals`;
case 'handwrittenReceipt':
return `handgeschreven bonnen`;
default:
return `${prohibitedExpenseType}`;
}
Expand Down
3 changes: 3 additions & 0 deletions src/languages/pl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6664,6 +6664,7 @@ Wymagaj szczegółów wydatków, takich jak paragony i opisy, ustawiaj limity i
gambling: 'Hazard',
tobacco: 'Tytoń',
adultEntertainment: 'Rozrywka dla dorosłych',
handwrittenReceipt: 'Odręczne paragony',
requireCompanyCard: 'Wymagaj kart służbowych dla wszystkich zakupów',
requireCompanyCardDescription: 'Oznacz wszystkie wydatki gotówkowe, w tym koszty za przejechane kilometry i ryczałty dzienne.',
requireCompanyCardDisabledTooltip: 'Włącz karty firmowe (w sekcji Więcej funkcji), aby odblokować.',
Expand Down Expand Up @@ -8200,6 +8201,8 @@ Dodaj więcej zasad wydatków, żeby chronić płynność finansową firmy.`,
return `rozrywka dla dorosłych`;
case 'hotelIncidentals':
return `dodatkowe opłaty hotelowe`;
case 'handwrittenReceipt':
return `odręczne paragony`;
default:
return `${prohibitedExpenseType}`;
}
Expand Down
3 changes: 3 additions & 0 deletions src/languages/pt-BR.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6671,6 +6671,7 @@ Exija dados de despesas como recibos e descrições, defina limites e padrões e
gambling: 'Jogos de azar',
tobacco: 'Tabaco',
adultEntertainment: 'Entretenimento adulto',
handwrittenReceipt: 'Recibos manuscritos',
requireCompanyCard: 'Exigir cartões corporativos para todas as compras',
requireCompanyCardDescription: 'Sinalize todos os gastos em dinheiro, incluindo despesas com quilometragem e diárias.',
requireCompanyCardDisabledTooltip: 'Ative Cartões corporativos (em Mais recursos) para desbloquear.',
Expand Down Expand Up @@ -8208,6 +8209,8 @@ Adicione mais regras de gasto para proteger o fluxo de caixa da empresa.`,
return `entretenimento adulto`;
case 'hotelIncidentals':
return `despesas incidentais de hotel`;
case 'handwrittenReceipt':
return `recibos manuscritos`;
default:
return `${prohibitedExpenseType}`;
}
Expand Down
3 changes: 3 additions & 0 deletions src/languages/zh-hans.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6495,6 +6495,7 @@ ${reportName}
gambling: '赌博',
tobacco: '烟草',
adultEntertainment: '成人娱乐',
handwrittenReceipt: '手写收据',
requireCompanyCard: '所有消费均需使用公司卡',
requireCompanyCardDescription: '标记所有现金支出,包括里程和每日津贴报销。',
requireCompanyCardDisabledTooltip: '启用“公司卡”(位于“更多功能”下)以解锁。',
Expand Down Expand Up @@ -7982,6 +7983,8 @@ ${reportName}
return `成人娱乐`;
case 'hotelIncidentals':
return `酒店杂费`;
case 'handwrittenReceipt':
return `手写收据`;
default:
return `${prohibitedExpenseType}`;
}
Expand Down
3 changes: 3 additions & 0 deletions src/types/onyx/Policy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1545,6 +1545,9 @@ type ProhibitedExpenses = OnyxCommon.OnyxValueWithOfflineFeedback<{

/** Whether the policy prohibits adult entertainment expenses */
adultEntertainment?: boolean;

/** Whether the policy prohibits handwritten receipt expenses */
handwrittenReceipt?: boolean;
}>;

/** Day of the month to schedule submission */
Expand Down
Loading