Skip to content

The open alternative to Salesforce, designed for AI.

Added Thai Baht support (#5881)

Ymir605945bd427e
diff --git a/packages/twenty-front/src/modules/object-record/record-field/types/CurrencyCode.ts b/packages/twenty-front/src/modules/object-record/record-field/types/CurrencyCode.ts
index 71e58d24255..e039734d71d 100644
--- a/packages/twenty-front/src/modules/object-record/record-field/types/CurrencyCode.ts
+++ b/packages/twenty-front/src/modules/object-record/record-field/types/CurrencyCode.ts
@@ -10,6 +10,7 @@ export enum CurrencyCode {
USD = 'USD',
NOK = 'NOK',
SEK = 'SEK',
+ BHT = 'BHT',
MAD = 'MAD',
QAR = 'QAR',
AED = 'AED',
diff --git a/packages/twenty-front/src/modules/settings/data-model/constants/SettingsFieldCurrencyCodes.ts b/packages/twenty-front/src/modules/settings/data-model/constants/SettingsFieldCurrencyCodes.ts
index c84df4323d9..87729dd4341 100644
--- a/packages/twenty-front/src/modules/settings/data-model/constants/SettingsFieldCurrencyCodes.ts
+++ b/packages/twenty-front/src/modules/settings/data-model/constants/SettingsFieldCurrencyCodes.ts
@@ -1,5 +1,6 @@
import {
IconComponent,
+ IconCurrencyBaht,
IconCurrencyDirham,
IconCurrencyDollar,
IconCurrencyEuro,
@@ -62,6 +63,10 @@ export const SETTINGS_FIELD_CURRENCY_CODES: Record<
label: 'Swedish krona',
Icon: IconCurrencyKroneSwedish,
},
+ BHT: {
+ label: 'Thai Baht',
+ Icon: IconCurrencyBaht,
+ },
MAD: {
label: 'Moroccan dirham',
Icon: IconCurrencyDirham,
diff --git a/packages/twenty-ui/src/display/icon/components/TablerIcons.ts b/packages/twenty-ui/src/display/icon/components/TablerIcons.ts
index 2855731a344..fe3ee775974 100644
--- a/packages/twenty-ui/src/display/icon/components/TablerIcons.ts
+++ b/packages/twenty-ui/src/display/icon/components/TablerIcons.ts
@@ -52,6 +52,7 @@ export {
IconMessageCircle as IconComment,
IconCopy,
IconCreditCard,
+ IconCurrencyBaht,
IconCurrencyDirham,
IconCurrencyDollar,
IconCurrencyEuro,