fix: skip cancelled slots when checking if slot is already booked
This commit is contained in:
@@ -67,6 +67,7 @@ class LMSCertificateRequest(Document):
|
||||
{
|
||||
"evaluator": self.evaluator,
|
||||
"date": self.date,
|
||||
"status": ["!=", "Cancelled"],
|
||||
"start_time": self.start_time,
|
||||
"member": ["!=", self.member],
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user