Add sales-month planning for crops/products and fix today task label format

This commit is contained in:
Kai
2026-02-16 14:03:19 +01:00
parent 723e9142b2
commit b1c502a919
8 changed files with 216 additions and 15 deletions

View File

@@ -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 {