mirror of
https://github.com/hay-kot/homebox.git
synced 2025-08-05 09:10:26 +00:00
add romanian lei
This commit is contained in:
parent
24afa0013a
commit
0cf75597ad
2 changed files with 8 additions and 1 deletions
|
@ -27,7 +27,7 @@ func (Group) Fields() []ent.Field {
|
|||
NotEmpty(),
|
||||
field.Enum("currency").
|
||||
Default("usd").
|
||||
Values("usd", "eur", "gbp", "jpy", "zar", "aud", "nok", "sek", "dkk", "inr", "rmb", "bgn", "chf", "pln", "try"),
|
||||
Values("usd", "eur", "gbp", "jpy", "zar", "aud", "nok", "sek", "dkk", "inr", "rmb", "bgn", "chf", "pln", "try", "ron"),
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -10,6 +10,7 @@ export type Codes =
|
|||
| "NOK"
|
||||
| "PLN"
|
||||
| "RMB"
|
||||
| "RON"
|
||||
| "SEK"
|
||||
| "TRY"
|
||||
| "USD"
|
||||
|
@ -77,6 +78,12 @@ export const currencies: Currency[] = [
|
|||
symbol: "zł",
|
||||
name: "Polish Zloty",
|
||||
},
|
||||
{
|
||||
code: "RON",
|
||||
local: "ro-RO",
|
||||
symbol: "lei",
|
||||
name: "Romanian Leu",
|
||||
},
|
||||
{
|
||||
code: "ZAR",
|
||||
local: "en-ZA",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue