Changeset 3760 for WAeUP_SRP/trunk/skins
- Timestamp:
- 12 Nov 2008, 20:46:06 (16 years ago)
- Location:
- WAeUP_SRP/trunk/skins
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_fceokene/getSchoolFee.py
r3759 r3760 21 21 22 22 if not brain.mode.endswith('_sw'): 23 # PRENCE 23 24 if str(brain.level) == '000' and brain.review_state == 'cleared_and_validated': 24 25 if brain.department in ARTS: … … 26 27 else: 27 28 d['all'] = 16400 29 # all repeaters 30 if brain.verdict == 'C': 31 if brain.department in ARTS: 32 d['all'] = 10170 33 else: 34 d['all'] = 10645 35 # NCE I fresh 28 36 elif str(brain.level) == '100' and brain.review_state == 'cleared_and_validated': 29 37 if brain.department in ARTS: … … 31 39 else: 32 40 d['all'] = 13495 33 elif str(brain.level) == '100' and brain.review_state == 'returning': 41 # NCE II 42 elif str(brain.level) in ('100','110','120') and brain.review_state == 'returning': 34 43 if brain.department in ARTS: 35 44 d['all'] = 12070 36 45 else: 37 46 d['all'] = 12545 47 # NCE III 38 48 elif str(brain.level) in ('200','210','220'): 39 49 if brain.department in ARTS: … … 41 51 else: 42 52 d['all'] = 12545 43 # repeaters = spillover44 elif str(brain.level) in ('300','310','320'):45 if brain.department in ARTS:46 d['all'] = 1017047 else:48 d['all'] = 1064549 53 else: 50 d['all'] = 0 54 d['all'] = 0 55 51 56 else: 52 57 if str(brain.level) == '100' and brain.review_state == 'cleared_and_validated': … … 55 60 else: 56 61 d['all'] = 22400 57 elif str(brain.level) == '100' and brain.review_state == 'returning': 62 # all repeaters 63 if brain.verdict == 'C': 64 if brain.department in ARTS: 65 d['all'] = 16900 66 else: 67 d['all'] = 17400 68 # NCE II 69 elif str(brain.level) in ('100','110','120') and brain.review_state == 'returning': 58 70 if brain.department in ARTS: 59 71 d['all'] = 18400 60 72 else: 61 73 d['all'] = 18900 74 # NCE III 62 75 elif str(brain.level) in ('200','210','220'): 63 76 if brain.department in ARTS: … … 65 78 else: 66 79 d['all'] = 20900 80 # NCE IV 67 81 elif str(brain.level) in ('300','310','320'): 68 82 if brain.department in ARTS: … … 70 84 else: 71 85 d['all'] = 18900 72 86 # NCE V 73 87 elif str(brain.level) in ('400','410','420'): 74 88 if brain.department in ARTS: … … 76 90 else: 77 91 d['all'] = 18900 78 79 # repeaters = spillover80 elif str(brain.level) in ('500','510','520'):81 if brain.department in ARTS:82 d['all'] = 1690083 else:84 d['all'] = 1740085 92 else: 86 93 d['all'] = 0 -
WAeUP_SRP/trunk/skins/waeup_fceoyo/getSchoolFee.py
r3759 r3760 21 21 22 22 if not brain.mode.endswith('_sw'): 23 # PRENCE 23 24 if str(brain.level) == '000' and brain.review_state == 'cleared_and_validated': 24 25 if brain.department in ARTS: … … 26 27 else: 27 28 d['all'] = 15370 29 # NCE I (fresh) 28 30 elif str(brain.level) == '100' and brain.review_state == 'cleared_and_validated': 29 31 if brain.department in ARTS: … … 31 33 else: 32 34 d['all'] = 10420 33 # new addition for prence to nce-i students whose fees are different from other nce-i students35 # new addition for prence to nce-i students whose fees are different from other nce-i students 34 36 elif str(brain.level) == '100' and brain.review_state == 'cleared_and_validated' and brain.entry_mode == 'prence': 35 37 if brain.department in ARTS: … … 37 39 else: 38 40 d['all'] = 14420 39 elif str(brain.level) == '100' and brain.review_state == 'returning': 41 # NCE I repeaters 42 elif str(brain.level) in ('100','110') and brain.review_state == 'returning' and brain.verdict == 'C': 40 43 if brain.department in ARTS: 41 44 d['all'] = 8320 42 45 else: 43 46 d['all'] = 8920 44 elif str(brain.level) in ('200','210','220'): 47 # NCE II 48 elif str(brain.level) in ('100','110','120') and brain.review_state == 'returning': 45 49 if brain.department in ARTS: 46 50 d['all'] = 5450 47 51 else: 48 52 d['all'] = 6050 49 # repeaters = spillover 50 elif str(brain.level) == '300': 53 # NCE II repeaters 54 elif str(brain.level) in ('200','210') and brain.verdict == 'C': 55 if brain.department in ARTS: 56 d['all'] = 5450 57 else: 58 d['all'] = 6050 59 # NCE III 60 elif str(brain.level) in ('200','210','220'): 51 61 if brain.department in ARTS: 52 62 d['all'] = 6200 53 63 else: 54 64 d['all'] = 6800 55 elif str(brain.level) in ('310','320'): 65 # NCE III repeaters 66 elif str(brain.level) in ('300','310') and brain.verdict == 'C': 56 67 if brain.department in ARTS: 57 68 d['all'] = 4950 58 69 else: 59 70 d['all'] = 5550 71 60 72 else: 61 73 d['all'] = 0 62 74 else: 63 if str(brain.level) == '100' and brain.review_state == 'cleared_and_validated':64 if brain.department in ARTS:65 d['all'] = 1100066 else:67 d['all'] = 1100068 elif str(brain.level) == '100' and brain.review_state == 'returning':69 if brain.department in ARTS:70 d['all'] = 1100071 else:72 d['all'] = 1100075 # all repeaters 76 if brain.verdict == 'C': 77 d['all'] = 9000 78 # NCE I 79 elif str(brain.level) == '100' and brain.review_state == 'cleared_and_validated': 80 d['all'] = 11000 81 # NCE II 82 elif str(brain.level) in ('100','110','120') and brain.review_state == 'returning': 83 d['all'] = 10000 84 # NCE III 73 85 elif str(brain.level) in ('200','210','220'): 74 if brain.department in ARTS: 75 d['all'] = 10000 76 else: 77 d['all'] = 10000 86 d['all'] = 9500 87 # NCE IV 78 88 elif str(brain.level) in ('300','310','320'): 79 if brain.department in ARTS: 80 d['all'] = 9500 81 else: 82 d['all'] = 9500 83 84 # repeaters = spillover 85 elif str(brain.level) in ('400','410','420'): 86 if brain.department in ARTS: 87 d['all'] = 9000 88 else: 89 d['all'] = 9000 90 89 d['all'] = 9500 91 90 else: 92 91 d['all'] = 0 -
WAeUP_SRP/trunk/skins/waeup_fceoyo/pay_interswitch.py
r3759 r3760 72 72 p_id = "p%s" % timestamp 73 73 info['surcharge'] = interswitch_amount = 300 74 info['amount'] = amount = fee_dict['all'] 74 amount = fee_dict['all'] 75 bt_amount = 2000 76 fceoyo_split = 500 77 info['amount'] = amount + bt_amount + fceoyo_split 78 79 #getSchoolFee provides pure school fee, the other fees have to be added 80 total_amount = 100* (amount + interswitch_amount + bt_amount + fceoyo_split) 75 81 76 82 if student_id is None: … … 127 133 args[arg] = info[field] 128 134 129 bt_amount = 2000 130 fceoyo_split = 500 131 132 #getSchoolFee provides pure school fee, the other fees have to be added 133 total_amount = 100* (amount + interswitch_amount + bt_amount + fceoyo_split) 135 134 136 135 137
Note: See TracChangeset for help on using the changeset viewer.