Skip to content
Open
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',
GIFT_CARD: 'giftCard',
},
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',
giftCard: 'Geschenkkartenkäufe',
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 'giftCard':
return `Geschenkkartenkäufe`;
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',
giftCard: 'Gift card purchases',
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 'giftCard':
return `gift card purchases`;
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',
giftCard: 'Compras de tarjetas regalo',
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 'giftCard':
return `compras de tarjetas regalo`;
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',
giftCard: 'Achats de cartes-cadeaux',
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 'giftCard':
return `achats de cartes-cadeaux`;
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',
giftCard: 'Acquisto di carte regalo',
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 'giftCard':
return `acquisto di carte regalo`;
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: 'アダルトエンターテインメント',
giftCard: 'ギフトカード購入',
requireCompanyCard: 'すべての購入に会社カードを必須にする',
requireCompanyCardDescription: 'マイレージや日当経費を含む、すべての現金支出にフラグを付ける。',
requireCompanyCardDisabledTooltip: 'ロック解除するには、「その他の機能」内の「会社カード」を有効にしてください。',
Expand Down Expand Up @@ -8136,6 +8137,8 @@ ${reportName}
return `アダルトエンターテインメント`;
case 'hotelIncidentals':
return `ホテル諸雑費`;
case 'giftCard':
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',
giftCard: 'Cadeaukaartaankopen',
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 'giftCard':
return `cadeaukaartaankopen`;
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',
giftCard: 'Zakup kart podarunkowych',
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 'giftCard':
return `zakup kart podarunkowych`;
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',
giftCard: 'Compras de cartão-presente',
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 'giftCard':
return `compras de cartão-presente`;
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: '成人娱乐',
giftCard: '礼品卡购买',
requireCompanyCard: '所有消费均需使用公司卡',
requireCompanyCardDescription: '标记所有现金支出,包括里程和每日津贴报销。',
requireCompanyCardDisabledTooltip: '启用“公司卡”(位于“更多功能”下)以解锁。',
Expand Down Expand Up @@ -7982,6 +7983,8 @@ ${reportName}
return `成人娱乐`;
case 'hotelIncidentals':
return `酒店杂费`;
case 'giftCard':
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 gift card purchases */
giftCard?: boolean;
}>;

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