Add sales-month planning for crops/products and fix today task label format
This commit is contained in:
@@ -29,10 +29,17 @@ type Crop struct {
|
||||
SowStartMonth int
|
||||
SowEndMonth int
|
||||
GrowMonths int
|
||||
BestSaleMonth int
|
||||
RegrowEnabled bool
|
||||
RegrowCycles int
|
||||
}
|
||||
|
||||
type Product struct {
|
||||
ID int64
|
||||
Name string
|
||||
BestSaleMonth int
|
||||
}
|
||||
|
||||
type Plan struct {
|
||||
ID int64
|
||||
FieldID sql.NullInt64
|
||||
@@ -135,6 +142,7 @@ type CropsPage struct {
|
||||
BasePage
|
||||
Crops []Crop
|
||||
CropSteps []CropStep
|
||||
Products []Product
|
||||
}
|
||||
|
||||
type PlanningPage struct {
|
||||
|
||||
Reference in New Issue
Block a user