Added new plant: Kohlrabi

This commit is contained in:
2023-07-18 16:02:38 +03:00
parent bafda02b74
commit 91586adef3
3 changed files with 7 additions and 1 deletions

View File

@@ -90,4 +90,8 @@ defmodule Osuuspuutarha.Harvest.Parser do
def parse_plant(:chili) do def parse_plant(:chili) do
"Chili" "Chili"
end end
def parse_plant(:kohlrabi) do
"Kohlrabi"
end
end end

View File

@@ -30,7 +30,8 @@ defmodule Osuuspuutarha.Harvest.Yield do
:green_onions, :green_onions,
:mangold, :mangold,
:paprika, :paprika,
:chili :chili,
:kohlrabi
] ]
field :unit, Ecto.Enum, values: [:kg, :kpl] field :unit, Ecto.Enum, values: [:kg, :kpl]

View File

@@ -30,6 +30,7 @@
"Cucumber": :cucumber, "Cucumber": :cucumber,
"Green Onions": :green_onions, "Green Onions": :green_onions,
"Kale": :kale, "Kale": :kale,
"Kohlrabi": :kohlrabi,
"Lettuce": :lettuce, "Lettuce": :lettuce,
"Mangold": :mangold, "Mangold": :mangold,
"Melon": :melon, "Melon": :melon,