introduced open tier
This commit is contained in:
parent
0a979eb05e
commit
99f6e921ee
|
@ -38,6 +38,7 @@ TIERS = [
|
||||||
['5', 'Tier 5'],
|
['5', 'Tier 5'],
|
||||||
['6', 'Tier 6'],
|
['6', 'Tier 6'],
|
||||||
['7', 'Tier 7'],
|
['7', 'Tier 7'],
|
||||||
|
['8', 'Open Tier'],
|
||||||
]
|
]
|
||||||
|
|
||||||
DEGREE_CHOICES = [
|
DEGREE_CHOICES = [
|
||||||
|
|
|
@ -253,6 +253,8 @@ def getTier(compensation_gross, is_psu=False):
|
||||||
return True, 'psu'
|
return True, 'psu'
|
||||||
if compensation_gross < 0:
|
if compensation_gross < 0:
|
||||||
raise ValueError("Negative Compensation")
|
raise ValueError("Negative Compensation")
|
||||||
|
elif compensation_gross < 450000: # Open Tier If less than 450,000
|
||||||
|
return True, "8"
|
||||||
elif compensation_gross < 600000: # Tier 7 If less than 600,000
|
elif compensation_gross < 600000: # Tier 7 If less than 600,000
|
||||||
return True, "7"
|
return True, "7"
|
||||||
# Tier 6 If less than 800,000 and greater than or equal to 600,000
|
# Tier 6 If less than 800,000 and greater than or equal to 600,000
|
||||||
|
|
Loading…
Reference in New Issue