mirror of
https://github.com/hay-kot/homebox.git
synced 2025-08-06 09:30:29 +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(),
|
NotEmpty(),
|
||||||
field.Enum("currency").
|
field.Enum("currency").
|
||||||
Default("usd").
|
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"
|
| "NOK"
|
||||||
| "PLN"
|
| "PLN"
|
||||||
| "RMB"
|
| "RMB"
|
||||||
|
| "RON"
|
||||||
| "SEK"
|
| "SEK"
|
||||||
| "TRY"
|
| "TRY"
|
||||||
| "USD"
|
| "USD"
|
||||||
|
@ -77,6 +78,12 @@ export const currencies: Currency[] = [
|
||||||
symbol: "zł",
|
symbol: "zł",
|
||||||
name: "Polish Zloty",
|
name: "Polish Zloty",
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
code: "RON",
|
||||||
|
local: "ro-RO",
|
||||||
|
symbol: "lei",
|
||||||
|
name: "Romanian Leu",
|
||||||
|
},
|
||||||
{
|
{
|
||||||
code: "ZAR",
|
code: "ZAR",
|
||||||
local: "en-ZA",
|
local: "en-ZA",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue