Self Order

This commit is contained in:
2026-05-04 16:23:29 +07:00
parent 2c76962959
commit b993da898f
16 changed files with 443 additions and 3 deletions
+7
View File
@@ -60,6 +60,13 @@ func GetAllOrderItemStatuses() []OrderItemStatus {
}
}
type OrderSource string
const (
OrderSourceStaff OrderSource = "staff"
OrderSourceSelfOrder OrderSource = "self_order"
)
func (o OrderType) IsValidOrderType() bool {
for _, validType := range GetAllOrderTypes() {
if o == validType {