The open alternative to Salesforce, designed for AI.
TypeScript crmcrm-systemcustomergood-first-issuegraphqlhacktoberfestjavascriptmarketingmonoreponestjsopen-sourcepostgresqlreactreactjssalestypescriptweb
feat: Currencies NOK and SEK (#5359)
Thomas Hillesøy92acfe57a1ea
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.tsindex 419be560ec6..e71b8a6744b 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@@ -7,6 +7,8 @@ export enum CurrencyCode {HKD = 'HKD',JPY = 'JPY',USD = 'USD',+ NOK = 'NOK',+ SEK = 'SEK',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.tsindex fa95f111e40..487ff6e0448 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@@ -4,6 +4,7 @@ import {IconCurrencyDollar,IconCurrencyEuro,IconCurrencyFrank,+ IconCurrencyKroneSwedish,IconCurrencyPound,IconCurrencyRiyal,IconCurrencyYen,@@ -48,6 +49,14 @@ export const SETTINGS_FIELD_CURRENCY_CODES: Record<label: 'Hong Kong dollar',Icon: IconCurrencyDollar,},+ NOK: {+ label: 'Norwegian krone',+ Icon: IconCurrencyKroneSwedish,+ },+ SEK: {+ label: 'Swedish krona',+ Icon: IconCurrencyKroneSwedish,+ },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.tsindex ba3282c2a1b..4067452b6ed 100644--- a/packages/twenty-ui/src/display/icon/components/TablerIcons.ts+++ b/packages/twenty-ui/src/display/icon/components/TablerIcons.ts@@ -54,6 +54,7 @@ export {IconCurrencyDollar,IconCurrencyEuro,IconCurrencyFrank,+ IconCurrencyKroneSwedish,IconCurrencyPound,IconCurrencyRiyal,IconCurrencyYen,