Added new plant: Kohlrabi
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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]
|
||||||
|
|||||||
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user