Changeset 5520
- Timestamp:
- 21 Sep 2010, 10:37:35 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_fceoyo/getSchoolFee.py
r4567 r5520 14 14 15 15 GRP1 = ('BIO','MAT','ISC','PHE','CHM','YOR','ARB','ENG','FRE','HAU','IGB') 16 GRP2 = (' MUS','THA')17 GRP3 = ('ECO','GEO','SOS','ISS','CRS','PES' )16 GRP2 = ('THA','CSC','BED','FAA','HEC','MUS') 17 GRP3 = ('ECO','GEO','SOS','ISS','CRS','PES','THA') 18 18 #GRP4 = ('CSC','AGE','BED','FAA','HEC') 19 19 … … 35 35 else: 36 36 d['all'] = 15370 37 # new addition for prence to nce-i students whose fees are different from other nce-i students 38 elif str(brain.level) == '100' and brain.review_state == 'cleared_and_validated' and brain.entry_mode == 'prence':39 if brain.department in GRP1:40 d['all'] = 1012041 elif brain.department in GRP2:42 d['all'] = 1002043 elif brain.department in GRP3:44 d['all'] = 952045 else:46 d['all'] = 1052037 # new addition for prence to nce-i students whose fees are different from other nce-i students. This is now redundant! 38 #elif str(brain.level) == '100' and brain.review_state == 'cleared_and_validated' and brain.entry_mode == 'prence': 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 45 # else: 46 # d['all'] = 10520 47 47 # NCE I (fresh) 48 48 elif str(brain.level) == '100' and brain.review_state == 'cleared_and_validated': 49 49 if brain.department in GRP1: 50 d['all'] = 1 162050 d['all'] = 15050 51 51 elif brain.department in GRP2: 52 d['all'] = 1 152052 d['all'] = 15050 53 53 elif brain.department in GRP3: 54 d['all'] = 1 102054 d['all'] = 14450 55 55 else: 56 d['all'] = 1 212056 d['all'] = 15050 57 57 # NCE I repeaters 58 58 elif str(brain.level) in ('100','110') and brain.review_state == 'returning' and brain.verdict == 'C': 59 59 if brain.department in GRP1: 60 d['all'] = 1 012060 d['all'] = 12550 61 61 elif brain.department in GRP2: 62 d['all'] = 1 002062 d['all'] = 12550 63 63 elif brain.department in GRP3: 64 d['all'] = 952064 d['all'] = 11950 65 65 else: 66 d['all'] = 1 052066 d['all'] = 12550 67 67 # NCE II 68 68 elif str(brain.level) in ('100','110','120') and brain.review_state == 'returning': 69 69 if brain.department in GRP1: 70 d['all'] = 675070 d['all'] = 9500 71 71 elif brain.department in GRP2: 72 d['all'] = 665072 d['all'] = 10500 73 73 elif brain.department in GRP3: 74 d['all'] = 615074 d['all'] = 8900 75 75 else: 76 d['all'] = 725076 d['all'] = 10500 77 77 # NCE II repeaters 78 78 elif str(brain.level) in ('200','210') and brain.verdict == 'C': 79 79 if brain.department in GRP1: 80 d['all'] = 675080 d['all'] = 9500 81 81 elif brain.department in GRP2: 82 d['all'] = 665082 d['all'] = 10500 83 83 elif brain.department in GRP3: 84 d['all'] = 615084 d['all'] = 8900 85 85 else: 86 d['all'] = 725086 d['all'] = 10500 87 87 # NCE III 88 88 elif str(brain.level) in ('200','210','220'): 89 89 if brain.department in GRP1: 90 d['all'] = 800090 d['all'] = 11250 91 91 elif brain.department in GRP2: 92 d['all'] = 740092 d['all'] = 11250 93 93 elif brain.department in GRP3: 94 d['all'] = 740094 d['all'] = 10650 95 95 else: 96 d['all'] = 800096 d['all'] = 11250 97 97 # NCE III repeaters and spillover 98 98 elif str(brain.level) in ('300','310') and brain.verdict in ('B','C'): 99 99 if brain.department in GRP1: 100 d['all'] = 6750100 d['all'] = 7000 101 101 elif brain.department in GRP2: 102 d['all'] = 6150102 d['all'] = 7000 103 103 elif brain.department in GRP3: 104 d['all'] = 6 150104 d['all'] = 6400 105 105 else: 106 d['all'] = 6750106 d['all'] = 7000 107 107 108 108 else: 109 109 d['all'] = 0 110 111 ##sandwich fees not yet modified 110 112 else: 111 113 # all repeaters
Note: See TracChangeset for help on using the changeset viewer.