can apply only to greater tiers

This commit is contained in:
karthikmurakonda 2023-11-19 16:14:42 +05:30
parent f1018b8fac
commit 3819d3d7ed
1 changed files with 2 additions and 2 deletions

View File

@ -250,11 +250,11 @@ def PlacementApplicationConditions(student, placement):
return True, "Conditions Satisfied"
for i in selected_companies:
if int(i.placement.tier) < int(placement.tier):
if int(i.placement.tier) <= int(placement.tier):
return False, "Can't apply for this tier"
for i in PPO:
if int(i.tier) < int(placement.tier):
if int(i.tier) <= int(placement.tier):
return False, "Can't apply for this tier"
if student.degree != 'bTech' and not placement.rs_eligible: