Checking PPO tier in Placement Rules
This commit is contained in:
parent
2f7f76f733
commit
ae29e70f5b
|
@ -184,6 +184,10 @@ def PlacementApplicationConditions(student, placement):
|
|||
if int(i.placement.tier) < int(placement.tier):
|
||||
return False, "Can't apply for this tier"
|
||||
|
||||
for i in PPO:
|
||||
if int(i.placement.tier) < int(placement.tier):
|
||||
return False, "Can't apply for this tier"
|
||||
|
||||
if student.degree != 'bTech' and not placement.rs_eligible:
|
||||
raise PermissionError("Can't apply for this placement")
|
||||
|
||||
|
|
Loading…
Reference in New Issue