Changeset 3567
- Timestamp:
- 12 Jul 2008, 15:57:41 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/aaua/waeup_custom/getSchoolFee.py
r3073 r3567 14 14 15 15 16 ARTS = ('CRS','ISS','HIS','MUS','ECO','GEO','POL','SOS','CCA','ECU','THA','GED','GSE','PES','SPC','ENG ','FRE','ARB','HAU','IGB','YOR','FAA') 16 d = {} 17 17 18 # SCS = ('BIO','CHE','HED','MAT','PED','PHY ','CSC','ISC','PHE','AGE','BED','HEC','TED') 19 20 d = {} 21 if str(brain.level) == '100' and brain.review_state == 'cleared_and_validated': 22 if brain.department in ARTS: 23 d['all'] = 11520 18 if brain.mode == 'ug_sw': 19 if str(brain.level) == '100': # both 100 fresh and 100 returning who register for 200 20 d['all'] = 35000 24 21 else: 25 d['all'] = 11995 26 elif str(brain.level) == '000' and brain.review_state == 'cleared_and_validated': 27 if brain.department in ARTS: 28 d['all'] = 14400 22 d['all'] = 30000 23 elif brain.mode == 'pg_sw': 24 d['all'] = 35000 25 elif brain.mode == 'dp_pt': 26 if str(brain.level) == '100' and brain.review_state == 'cleared_and_validated': # only 100 fresh 27 d['all'] = 40000 29 28 else: 30 d['all'] = 1490031 elif str(brain.level) == '100' and brain.review_state == 'returning':32 if brain.department in ARTS:33 d['all'] = 1057029 d['all'] = 35000 30 elif brain.mode == 'ug_pt': 31 if str(brain.level) == '100' and brain.review_state == 'cleared_and_validated': # only 100 fresh 32 d['all'] = 50000 34 33 else: 35 d['all'] = 11045 36 elif str(brain.level) in ('200','210','220'): 37 if brain.department in ARTS: 38 d['all'] = 10570 34 d['all'] = 45000 35 elif brain.mode == 'pg_pt': 36 if str(brain.level) == '600' and brain.review_state == 'cleared_and_validated': # only 600 fresh 37 d['all'] = 60000 38 elif str(brain.level) == '600' and brain.verdict == 'C': # 600 repeaters 39 d['all'] = 55000 40 elif str(brain.level) == '600': # going to register for 700 41 d['all'] = 75000 39 42 else: 40 d['all'] = 11045 41 # repeaters = spillover 42 elif str(brain.level) in ('300','310','320'): 43 if brain.department in ARTS: 44 d['all'] = 8670 45 else: 46 d['all'] = 9145 43 d['all'] = 65000 47 44 else: 48 45 d['all'] = 0
Note: See TracChangeset for help on using the changeset viewer.