The open alternative to Salesforce, designed for AI.
TypeScript crmcrm-systemcustomergood-first-issuegraphqlhacktoberfestjavascriptmarketingmonoreponestjsopen-sourcepostgresqlreactreactjssalestypescriptweb
feat: add brazilian real currency (#5989)
Vitor Hugo Rodrigues91b0c2bb8e82
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 673b6b7cb26..7d3fad5846c 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@@ -15,4 +15,5 @@ export enum CurrencyCode {QAR = 'QAR',AED = 'AED',KRW = 'KRW',+ BRL = 'BRL',}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 da235b1100d..6f302e6ea90 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@@ -8,6 +8,7 @@ import {IconCurrencyKroneCzech,IconCurrencyKroneSwedish,IconCurrencyPound,+ IconCurrencyReal,IconCurrencyRiyal,IconCurrencyWon,IconCurrencyYen,@@ -84,4 +85,8 @@ export const SETTINGS_FIELD_CURRENCY_CODES: Record<label: 'South Korean won',Icon: IconCurrencyWon,},+ BRL: {+ label: 'Brazilian real',+ Icon: IconCurrencyReal,+ }};diff --git a/packages/twenty-ui/src/display/icon/components/TablerIcons.ts b/packages/twenty-ui/src/display/icon/components/TablerIcons.tsindex c4262154cf3..9ff7c5008bb 100644--- a/packages/twenty-ui/src/display/icon/components/TablerIcons.ts+++ b/packages/twenty-ui/src/display/icon/components/TablerIcons.ts@@ -60,6 +60,7 @@ export {IconCurrencyKroneCzech,IconCurrencyKroneSwedish,IconCurrencyPound,+ IconCurrencyReal,IconCurrencyRiyal,IconCurrencyWon,IconCurrencyYen,