Prep Status
This commit is contained in:
@@ -32,6 +32,7 @@ const (
|
|||||||
FORGOTTEN
|
FORGOTTEN
|
||||||
DELAYED
|
DELAYED
|
||||||
CANCELLED
|
CANCELLED
|
||||||
|
IN_PREPARATION
|
||||||
)
|
)
|
||||||
|
|
||||||
var str = [...]string{
|
var str = [...]string{
|
||||||
@@ -43,6 +44,7 @@ var str = [...]string{
|
|||||||
"forgotten",
|
"forgotten",
|
||||||
"delayed",
|
"delayed",
|
||||||
"cancelled",
|
"cancelled",
|
||||||
|
"in_preparation",
|
||||||
}
|
}
|
||||||
|
|
||||||
func FromInt(i int) string {
|
func FromInt(i int) string {
|
||||||
@@ -60,5 +62,5 @@ func (d BookingStatus) EnumIndex() int {
|
|||||||
|
|
||||||
// List
|
// List
|
||||||
func StatusList() []BookingStatus {
|
func StatusList() []BookingStatus {
|
||||||
return []BookingStatus{DRAFT, SCHEDULED, STARTED, FAILURE, SUCCESS, FORGOTTEN, DELAYED, CANCELLED}
|
return []BookingStatus{DRAFT, SCHEDULED, STARTED, FAILURE, SUCCESS, FORGOTTEN, DELAYED, CANCELLED, IN_PREPARATION}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user