Changeset 5172 for WAeUP_SRP/trunk/skins/waeup_aaua/getSchoolFee.py
- Timestamp:
- 27 Apr 2010, 11:09:18 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_aaua/getSchoolFee.py
r5171 r5172 14 14 15 15 d = {} 16 d['all'] = 0 17 18 MPA = ('MPAPT','MEMPT','MMPPT') 16 19 17 20 if brain.mode == 'ug_sw': # ug_sw students payment does not depend on the current session … … 37 40 elif str(brain.level) == '700': # only 700 fresh 38 41 d['all'] = 75000 39 else:40 d['all'] = 041 else:42 d['all'] = 043 42 elif brain.session in ('06',) and brain.review_state == 'returning': 44 43 if brain.mode == 'dp_pt': … … 53 52 else: 54 53 d['all'] = 65000 55 else:56 d['all'] = 057 54 58 elif brain.session in ('07','08','09',): # 07 returning students, and all students registering for 08 upwards 59 if instalment == '1': 60 d['all'] = 8888888 # for testing 61 d['instalment'] = '1' 62 elif instalment == '2': 63 d['all'] = 9999999 # for testing 64 d['instalment'] = '2' 65 else: 66 d['all'] = 0 67 else: 68 d['all'] = 0 69 55 elif brain.session in ('07','08','09',): 56 if brain.mode == 'dp_pt': 57 if brain.review_state == 'cleared_and_validated' and str(brain.level) in ('100',): 58 if instalment == '1': 59 d['all'] = 35000 60 elif instalment == '2': 61 d['all'] = 20000 62 elif brain.review_state == 'returning': 63 if instalment == '1': 64 d['all'] = 25000 65 elif instalment == '2': 66 d['all'] = 10000 67 if brain.mode == 'ug_pt': 68 if brain.review_state == 'cleared_and_validated' and str(brain.level) in ('100','200'): 69 if instalment == '1': 70 d['all'] = 40000 71 elif instalment == '2': 72 d['all'] = 30000 73 elif brain.review_state == 'returning': 74 if instalment == '1': 75 d['all'] = 25000 76 elif instalment == '2': 77 d['all'] = 20000 78 if brain.mode == 'pg_pt': 79 if brain.review_state == 'cleared_and_validated' and str(brain.level) in ('600',): 80 if instalment == '1': 81 d['all'] = 65000 82 elif instalment == '2': 83 d['all'] = 50000 84 elif brain.review_state == 'returning': 85 if instalment == '1': 86 d['all'] = 35000 87 elif instalment == '2': 88 d['all'] = 30000 89 elif brain.review_state == 'cleared_and_validated' and str(brain.level) in ('700',) and brain.course in MPA: 90 if instalment == '1': 91 d['all'] = 85000 92 elif instalment == '2': 93 d['all'] = 80000 94 elif brain.review_state == 'cleared_and_validated' and str(brain.level) in ('700',) : 95 if instalment == '1': 96 d['all'] = 95000 97 elif instalment == '2': 98 d['all'] = 85000 70 99 71 100 next_info = context.getNextInfo(brain)
Note: See TracChangeset for help on using the changeset viewer.