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
"Chili"
end
def parse_plant(:kohlrabi) do
"Kohlrabi"
end
end

View File

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