Skip to content

Commit 3de5ed3

Browse files
Added: The support for CZK Currency (#5561)
Added the Czech Koruna currency support. - Added the CZK to the currency code. - Set the desired CZK icon to `TablerIcons` to use it within the `twenty-ui` fixes: #5530 ![Screenshot (335)](https://github.com/twentyhq/twenty/assets/140178357/a19a60b8-2261-44b3-9ed2-5c35424631a1) ![Screenshot (336)](https://github.com/twentyhq/twenty/assets/140178357/20944e43-901c-4dda-b986-a47763fb5f9b)
1 parent c7d61e1 commit 3de5ed3

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

packages/twenty-front/src/modules/object-record/record-field/types/CurrencyCode.ts

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ export enum CurrencyCode {
22
CAD = 'CAD',
33
CHF = 'CHF',
44
CNY = 'CNY',
5+
CZK = 'CZK',
56
EUR = 'EUR',
67
GBP = 'GBP',
78
HKD = 'HKD',

packages/twenty-front/src/modules/settings/data-model/constants/SettingsFieldCurrencyCodes.ts

+5
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import {
55
IconCurrencyEuro,
66
IconCurrencyFrank,
77
IconCurrencyKroneSwedish,
8+
IconCurrencyKroneCzech,
89
IconCurrencyPound,
910
IconCurrencyRiyal,
1011
IconCurrencyYen,
@@ -45,6 +46,10 @@ export const SETTINGS_FIELD_CURRENCY_CODES: Record<
4546
label: 'Chinese yuan',
4647
Icon: IconCurrencyYuan,
4748
},
49+
CZK: {
50+
label: 'Czech koruna',
51+
Icon: IconCurrencyKroneCzech,
52+
},
4853
HKD: {
4954
label: 'Hong Kong dollar',
5055
Icon: IconCurrencyDollar,

packages/twenty-ui/src/display/icon/components/TablerIcons.ts

+1
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ export {
5757
IconCurrencyEuro,
5858
IconCurrencyFrank,
5959
IconCurrencyKroneSwedish,
60+
IconCurrencyKroneCzech,
6061
IconCurrencyPound,
6162
IconCurrencyRiyal,
6263
IconCurrencyYen,

0 commit comments

Comments
 (0)