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]
|
||||
|
||||
@@ -30,6 +30,7 @@
|
||||
"Cucumber": :cucumber,
|
||||
"Green Onions": :green_onions,
|
||||
"Kale": :kale,
|
||||
"Kohlrabi": :kohlrabi,
|
||||
"Lettuce": :lettuce,
|
||||
"Mangold": :mangold,
|
||||
"Melon": :melon,
|
||||
|
||||
Reference in New Issue
Block a user