delivery slot updated in orders and deliveries
This commit is contained in:
@@ -166,6 +166,18 @@ type Ridersummary struct {
|
||||
}
|
||||
|
||||
type Deliveryinfo struct {
|
||||
// The delivery window the customer asked for, joined from the order.
|
||||
//
|
||||
// Zero on every delivery whose order named no window, which is most of
|
||||
// them — treat absence as "none was asked for", never as missing data.
|
||||
// Read-only: the window lives on orders, not here.
|
||||
Deliveryslotid int `json:"deliveryslotid" gorm:"->"`
|
||||
Deliveryslotdate string `json:"deliveryslotdate" gorm:"->"`
|
||||
Slotkey string `json:"slotkey" gorm:"->"`
|
||||
Deliveryslotname string `json:"deliveryslotname" gorm:"->"`
|
||||
Deliveryslotstart string `json:"deliveryslotstart" gorm:"->"`
|
||||
Deliveryslotend string `json:"deliveryslotend" gorm:"->"`
|
||||
|
||||
Deliveryid int `json:"deliveryid"`
|
||||
Orderheaderid int `json:"orderheaderid"`
|
||||
Applocationid int `json:"applocationid"`
|
||||
|
||||
Reference in New Issue
Block a user