Added corn yield
This commit is contained in:
@@ -110,4 +110,8 @@ defmodule Osuuspuutarha.Harvest.Parser do
|
||||
def parse_plant(:parsley) do
|
||||
"Parsley"
|
||||
end
|
||||
|
||||
def parse_plant(:corn) do
|
||||
"Corn"
|
||||
end
|
||||
end
|
||||
|
||||
@@ -35,7 +35,8 @@ defmodule Osuuspuutarha.Harvest.Yield do
|
||||
:garlic,
|
||||
:onion,
|
||||
:spinach,
|
||||
:parsley
|
||||
:parsley,
|
||||
:corn
|
||||
]
|
||||
|
||||
field :unit, Ecto.Enum, values: [:kg, :kpl]
|
||||
|
||||
@@ -27,6 +27,7 @@
|
||||
"Carrot": :carrot,
|
||||
"Cauliflower": :cauliflower,
|
||||
"Chili": :chili,
|
||||
"Corn": :corn,
|
||||
"Cucumber": :cucumber,
|
||||
"Garlic": :garlic,
|
||||
"Green Onions": :green_onions,
|
||||
|
||||
Reference in New Issue
Block a user