Changeset 4547 for WAeUP_SRP/trunk/skins/waeup_fceoyo
- Timestamp:
- 9 Nov 2009, 17:50:16 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_fceoyo/getSchoolFee.py
r3970 r4547 13 13 """ 14 14 15 GRP1 = ('BIO','MAT','ISC','PHE','CHE','YOR','ARB','ENG','FRE','HAU','IGB') 16 GRP2 = ('MUS','THA') 17 GRP3 = ('ECON','GEO','SOS','ISS','CRS','PES') 18 #GRP4 = ('CSC','AGE','BED','FAA','HEC') 15 19 16 20 ARTS = ('CRS','ISS','MUS','SOS','THA','PES','ECO','GEO') … … 23 27 # PRENCE 24 28 if str(brain.level) == '000' and brain.review_state == 'cleared_and_validated': 25 if brain.department in ARTS: 29 if brain.department in GRP1: 30 d['all'] = 15370 31 elif brain.department in GRP2: 32 d['all'] = 15370 33 elif brain.department in GRP3: 26 34 d['all'] = 14770 27 35 else: … … 29 37 # new addition for prence to nce-i students whose fees are different from other nce-i students 30 38 elif str(brain.level) == '100' and brain.review_state == 'cleared_and_validated' and brain.entry_mode == 'prence': 31 if brain.department in ARTS: 32 d['all'] = 13320 39 if brain.department in GRP1: 40 d['all'] = 10120 41 elif brain.department in GRP2: 42 d['all'] = 10020 43 elif brain.department in GRP3: 44 d['all'] = 9520 33 45 else: 34 d['all'] = 1 442046 d['all'] = 10520 35 47 # NCE I (fresh) 36 48 elif str(brain.level) == '100' and brain.review_state == 'cleared_and_validated': 37 if brain.department in ARTS: 38 d['all'] = 9820 49 if brain.department in GRP1: 50 d['all'] = 11620 51 elif brain.department in GRP2: 52 d['all'] = 11520 53 elif brain.department in GRP3: 54 d['all'] = 11020 39 55 else: 40 d['all'] = 1 042056 d['all'] = 12120 41 57 # NCE I repeaters 42 58 elif str(brain.level) in ('100','110') and brain.review_state == 'returning' and brain.verdict == 'C': 43 if brain.department in ARTS:44 d['all'] = 832045 elif brain.department in ('SCI','VTE','LAG'):46 d['all'] = 1 172047 elif brain.department in ('ASS','EDU'):48 d['all'] = 1112059 if brain.department in GRP1: 60 d['all'] = 10120 61 elif brain.department in GRP2: 62 d['all'] = 10020 63 elif brain.department in GRP3: 64 d['all'] = 9520 49 65 else: 50 d['all'] = 892066 d['all'] = 10520 51 67 # NCE II 52 68 elif str(brain.level) in ('100','110','120') and brain.review_state == 'returning': 53 if brain.department in ARTS: 54 d['all'] = 5450 69 if brain.department in GRP1: 70 d['all'] = 6750 71 elif brain.department in GRP2: 72 d['all'] = 6650 73 elif brain.department in GRP3: 74 d['all'] = 6150 55 75 else: 56 d['all'] = 605076 d['all'] = 7250 57 77 # NCE II repeaters 58 78 elif str(brain.level) in ('200','210') and brain.verdict == 'C': 59 if brain.department in ARTS: 60 d['all'] = 5450 79 if brain.department in GRP1: 80 d['all'] = 6750 81 elif brain.department in GRP2: 82 d['all'] = 6650 83 elif brain.department in GRP3: 84 d['all'] = 6150 61 85 else: 62 d['all'] = 605086 d['all'] = 7250 63 87 # NCE III 64 88 elif str(brain.level) in ('200','210','220'): 65 if brain.department in ARTS: 66 d['all'] = 6200 89 if brain.department in GRP1: 90 d['all'] = 8000 91 elif brain.department in GRP2: 92 d['all'] = 7400 93 elif brain.department in GRP3: 94 d['all'] = 7400 67 95 else: 68 d['all'] = 680096 d['all'] = 8000 69 97 # NCE III repeaters and spillover 70 98 elif str(brain.level) in ('300','310') and brain.verdict in ('B','C'): 71 if brain.department in ARTS: 72 d['all'] = 4950 99 if brain.department in GRP1: 100 d['all'] = 6750 101 elif brain.department in GRP2: 102 d['all'] = 6150 103 elif brain.department in GRP3: 104 d['all'] = 6150 73 105 else: 74 d['all'] = 5550106 d['all'] = 6750 75 107 76 108 else: … … 105 137 106 138 return d 107
Note: See TracChangeset for help on using the changeset viewer.