fix: validate academic term while checking for enrollment duplication
This commit is contained in:
parent
68a07eda72
commit
f5eb45bf23
@ -28,6 +28,7 @@ class ProgramEnrollment(Document):
|
||||
"student": self.student,
|
||||
"program": self.program,
|
||||
"academic_year": self.academic_year,
|
||||
"academic_term": self.academic_term,
|
||||
"docstatus": ("<", 2),
|
||||
"name": ("!=", self.name)
|
||||
})
|
||||
|
Loading…
x
Reference in New Issue
Block a user