Added new plant: Kohlrabi
This commit is contained in:
@@ -90,4 +90,8 @@ defmodule Osuuspuutarha.Harvest.Parser do
|
||||
def parse_plant(:chili) do
|
||||
"Chili"
|
||||
end
|
||||
|
||||
def parse_plant(:kohlrabi) do
|
||||
"Kohlrabi"
|
||||
end
|
||||
end
|
||||
|
||||
@@ -30,7 +30,8 @@ defmodule Osuuspuutarha.Harvest.Yield do
|
||||
:green_onions,
|
||||
:mangold,
|
||||
:paprika,
|
||||
:chili
|
||||
:chili,
|
||||
:kohlrabi
|
||||
]
|
||||
|
||||
field :unit, Ecto.Enum, values: [:kg, :kpl]
|
||||
|
||||
Reference in New Issue
Block a user