Changeset 3760 for WAeUP_SRP/trunk/skins/waeup_fceoyo
- Timestamp:
- 12 Nov 2008, 20:46:06 (16 years ago)
- Location:
- WAeUP_SRP/trunk/skins/waeup_fceoyo
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
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.