From 3e0ff0f8c8323a349ae15815c6d4fb0d3a5a4b69 Mon Sep 17 00:00:00 2001 From: Vitor Hugo Rodrigues Merencio Date: Sat, 22 Jun 2024 02:58:32 -0300 Subject: [PATCH] feat: add brazilian real currency --- .../modules/object-record/record-field/types/CurrencyCode.ts | 1 + .../data-model/constants/SettingsFieldCurrencyCodes.ts | 5 +++++ .../twenty-ui/src/display/icon/components/TablerIcons.ts | 1 + 3 files changed, 7 insertions(+) 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 673b6b7cb264..7d3fad5846c8 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.ts index da235b1100dd..6f302e6ea90e 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.ts index c4262154cf3f..9ff7c5008bbf 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,