diff --git a/internal/storage/storage.go b/internal/storage/storage.go index 7587a94..cfff437 100644 --- a/internal/storage/storage.go +++ b/internal/storage/storage.go @@ -278,4 +278,5 @@ var SupportedCurrencies = []string{ "vnd", // Vietnamese Dong "myr", // Malaysian Ringgit "mad", // Moroccan Dirham + "ron", // Romanian Leu } diff --git a/internal/web/templates/functions.js b/internal/web/templates/functions.js index b65a1ed..80bd260 100644 --- a/internal/web/templates/functions.js +++ b/internal/web/templates/functions.js @@ -34,6 +34,7 @@ const currencyBehaviors = { vnd: {symbol: "₫", useComma: true, useDecimals: false, useSpace: true, right: true}, myr: {symbol: "RM", useComma: false, useDecimals: true, useSpace: false, right: false}, mad: {symbol: "DH", useComma: false, useDecimals: true, useSpace: true, right: true}, + ron: {symbol: "lei", useComma: true, useDecimals: true, useSpace: true, right: true}, }; function formatCurrency(amount) {