New plants, Alphapetical order for plant list
This commit is contained in:
@@ -78,4 +78,16 @@ defmodule Osuuspuutarha.Harvest.Parser do
|
||||
def parse_plant(:green_onions) do
|
||||
"Green Onions"
|
||||
end
|
||||
|
||||
def parse_plant(:mangold) do
|
||||
"Mangold"
|
||||
end
|
||||
|
||||
def parse_plant(:paprika) do
|
||||
"Paprika"
|
||||
end
|
||||
|
||||
def parse_plant(:chili) do
|
||||
"Chili"
|
||||
end
|
||||
end
|
||||
|
||||
@@ -27,7 +27,10 @@ defmodule Osuuspuutarha.Harvest.Yield do
|
||||
:cauliflower,
|
||||
:broccoli,
|
||||
:portulak,
|
||||
:green_onions
|
||||
:green_onions,
|
||||
:mangold,
|
||||
:paprika,
|
||||
:chili
|
||||
]
|
||||
|
||||
field :unit, Ecto.Enum, values: [:kg, :kpl]
|
||||
|
||||
Reference in New Issue
Block a user