feat (orders): add guard if parents are done, cant create child
This commit is contained in:
No files matched your search
@@ -17,3 +17,7 @@ type McuOrderSubItem struct {
|
||||
Result *string `json:"result"`
|
||||
Status_Code erc.DataStatusCode `json:"status_code"`
|
||||
}
|
||||
|
||||
func (d McuOrderSubItem) IsCompleted() bool {
|
||||
return d.Status_Code == erc.DSCDone
|
||||
}
|
||||
Reference in New Issue
Block a user