forked from mirrors/homebox
feat: add additional currencies (#125)
Add additional currencies and ensure Frontend/Backend currencies are synched via testing
This commit is contained in:
parent
7e0f1fac23
commit
2fb5a437a2
8 changed files with 45 additions and 5 deletions
|
@ -27,7 +27,7 @@ func (Group) Fields() []ent.Field {
|
|||
NotEmpty(),
|
||||
field.Enum("currency").
|
||||
Default("usd").
|
||||
Values("usd", "eur", "gbp", "jpy"), // TODO: add more currencies
|
||||
Values("usd", "eur", "gbp", "jpy", "zar", "aud"),
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue