base draft

This commit is contained in:
mr
2026-03-16 10:59:31 +01:00
parent 48f034316b
commit a86e78841b
2 changed files with 4 additions and 3 deletions

View File

@@ -129,7 +129,8 @@ func (d *Booking) VerifyAuth(callName string, request *tools.APIRequest) bool {
}
func (r *Booking) StoreDraftDefault() {
r.IsDraft = false
r.IsDraft = true
r.State = enum.DRAFT
}
func (r *Booking) CanUpdate(set utils.DBObject) (bool, utils.DBObject) {