Changeset 7885 for WAeUP_SRP/trunk
- Timestamp:
- 14 Mar 2012, 20:58:16 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_aaua/getSchoolFee.py
r7279 r7885 16 16 d['all'] = 0 17 17 18 MPA = ('MPAPT','MEMPT','MMPPT') 18 MPA = ('MPAPT','MEMPT','MMPPT') 19 19 i2_states = ('school_fee_paid','courses_registered','courses_validated',) 20 20 21 21 if brain.mode == 'ug_sw': # ug_sw students payment does not depend on the current session 22 if str(brain.level) in ('100','200',) and brain.review_state == 'cleared_and_validated': 22 if str(brain.level) in ('100','200',) and brain.review_state == 'cleared_and_validated': 23 23 d['all'] = 45000 24 24 elif str(brain.level) in ('100',): #200 returning students … … 27 27 d['all'] = 35000 28 28 elif brain.mode == 'pg_sw': 29 if str(brain.level) == '600' and brain.review_state == 'cleared_and_validated': # only 600 fresh 29 if str(brain.level) == '600' and brain.review_state == 'cleared_and_validated': # only 600 fresh 30 30 d['all'] = 65000 31 else: 31 else: 32 32 d['all'] = 80000 33 elif brain.session in ('06','07',) and brain.review_state == 'cleared_and_validated': 33 elif brain.session in ('06','07',) and brain.review_state == 'cleared_and_validated': 34 34 if brain.mode == 'dp_pt' and str(brain.level) in ('100',): 35 35 d['all'] = 40000 … … 37 37 d['all'] = 50000 38 38 elif brain.mode == 'pg_pt': 39 if str(brain.level) == '600': # only 600 fresh 39 if str(brain.level) == '600': # only 600 fresh 40 40 d['all'] = 60000 41 if str(brain.level) == '700': # only 700 fresh 41 if str(brain.level) == '700': # only 700 fresh 42 42 d['all'] = 75000 43 elif brain.session in ('06',) and brain.review_state == 'returning': 43 elif brain.session in ('06',) and brain.review_state == 'returning': 44 44 if brain.mode == 'dp_pt': 45 45 d['all'] = 35000 … … 53 53 else: 54 54 d['all'] = 65000 55 55 56 56 elif brain.session in ('07','08','09','10'): 57 57 if brain.mode == 'dp_pt': … … 61 61 d['all'] = 20000 62 62 elif brain.review_state == 'returning' and instalment == '1': 63 d['all'] = 2500063 d['all'] = 30000 64 64 elif brain.review_state in i2_states and instalment == '2': 65 d['all'] = 1000065 d['all'] = 20000 66 66 if brain.mode == 'ug_pt': 67 67 if brain.review_state == 'cleared_and_validated' and str(brain.level) in ('100','200') and instalment == '1': … … 81 81 # 700 level students, two different certificate groups, 700 level repeaters and 700 level returning students exist 82 82 # MPA students 83 elif brain.review_state == 'cleared_and_validated' and str(brain.level) in ('700',) and instalment == '1' and brain.course in MPA: 83 elif brain.review_state == 'cleared_and_validated' and str(brain.level) in ('700',) and instalment == '1' and brain.course in MPA: 84 84 d['all'] = 85000 85 elif brain.review_state in i2_states and str(brain.level) in ('700',) and instalment == '2' and brain.course in MPA: 85 elif brain.review_state in i2_states and str(brain.level) in ('700',) and instalment == '2' and brain.course in MPA: 86 86 d['all'] = 80000 87 87 # non-MPA students 88 elif brain.review_state == 'cleared_and_validated' and str(brain.level) in ('700',) and instalment == '1': 88 elif brain.review_state == 'cleared_and_validated' and str(brain.level) in ('700',) and instalment == '1': 89 89 d['all'] = 100000 90 90 elif brain.review_state in i2_states and str(brain.level) in ('700',) and instalment == '2': … … 105 105 elif brain.review_state in i2_states and instalment == '2': 106 106 d['all'] = 75000 107 107 108 108 109 109 next_info = context.getNextInfo(brain) … … 113 113 114 114 return d 115
Note: See TracChangeset for help on using the changeset viewer.