Changeset 4861 for WAeUP_SRP/trunk/skins/waeup_futminna
- Timestamp:
- 20 Jan 2010, 11:01:55 (15 years ago)
- Location:
- WAeUP_SRP/trunk/skins/waeup_futminna
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_futminna/getAccommodationInfo.py
r4009 r4861 16 16 import DateTime 17 17 18 booking_disabled = True18 booking_disabled = False 19 19 20 20 request = context.REQUEST -
WAeUP_SRP/trunk/skins/waeup_futminna/getSchoolFee.py
r4010 r4861 29 29 d['all'] = 72700 30 30 elif brain.lga == 'foreigner': 31 d['all'] = 131500 + 500031 d['all'] = 131500 #+ 5000 32 32 else: 33 d['all'] = 41500 + 500033 d['all'] = 41500 #+ 5000 34 34 # returning 35 35 elif brain.review_state == 'returning': … … 39 39 d['all'] = 109500 40 40 else: 41 d['all'] = 19500 + 500041 d['all'] = 19500 #+ 5000 42 42 else: 43 43 d['all'] = 0 -
WAeUP_SRP/trunk/skins/waeup_futminna/pay_interswitch.py
r4003 r4861 1 ## Script (Python) "pay_ online"1 ## Script (Python) "pay_interswitch" 2 2 ##bind container=container 3 3 ##bind context=context … … 50 50 info['site_id'] = '117' 51 51 info['currency_id'] = '566' 52 pay_item_id = "11700" 53 52 53 if student_record.mode in ('pg_ft'): 54 pay_item_id = "11703" 55 elif student_record.review_state == 'cleared_and_validated' and student_record.level in ('100'): 56 pay_item_id = "11700" 57 elif student_record.review_state == 'cleared_and_validated' and student_record.level in ('200'): 58 pay_item_id = "11701" 59 elif student_record.review_state == 'returning' and student_record.level in ('100'): 60 pay_item_id = "11701" 61 elif student_record.review_state == 'returning' and student_record.level in ('200'): 62 pay_item_id = "11702" 63 elif student_record.review_state == 'returning' and student_record.level in ('300'): 64 pay_item_id = "11703" 65 elif student_record.review_state == 'returning' and student_record.level in ('400','500'): 66 pay_item_id = "11704" 67 else: 68 pay_item_id = "" 69 54 70 info['bank'] = '' 55 71 info['payment_possible'] = True … … 72 88 73 89 74 info['surcharge'] = interswitch_amount = '300' 90 info['surcharge'] = 0 # students don't have to pay the surcharge, FUT is paying for them 91 interswitch_amount = 300 75 92 info['amount'] = amount = fee_dict['all'] 76 total_amount = 100*int(amount) + 100*int(interswitch_amount)93 total_amount = 100*int(amount) 77 94 78 95 … … 127 144 bt_amount = 1500 128 145 #fut_split = 0000 #not appicable 129 fut_amount = amount - bt_amount 146 fut_amount = amount - bt_amount - interswitch_amount 130 147 131 148 xmldict = {} … … 139 156 140 157 #students at all levels pay their school fees to different banks 141 if student_record.review_state == 'cleared_and_validated' and student_record.level in ('100'): 142 if student_record.mode == 'jm_ft': 143 xmldict['fut_acct'] = "0030001000016190" 144 xmldict['bank_id'] = '89' 145 else: 146 xmldict['fut_acct'] = "0510031193719" 147 xmldict['bank_id'] = '75' 158 159 if student_record.mode == 'jm_ft': 160 xmldict['fut_acct'] = "000000000000" 161 xmldict['bank_id'] = '0' 162 elif student_record.mode in ('pg_ft'): 163 xmldict['fut_acct'] = "2522040000134" 164 xmldict['bank_id'] = '8' 165 elif student_record.review_state == 'cleared_and_validated' and student_record.level in ('100'): 166 xmldict['fut_acct'] = "0030001000017110" 167 xmldict['bank_id'] = '89' 168 elif student_record.review_state == 'cleared_and_validated' and student_record.level in ('200'): 169 xmldict['fut_acct'] = "0591201005146" 170 xmldict['bank_id'] = '101' 148 171 elif student_record.review_state == 'returning' and student_record.level in ('100'): 149 if student_record.mode == 'jm_ft': 150 xmldict['fut_acct'] = "0030001000016190" 151 xmldict['bank_id'] = '89' 152 else: 153 xmldict['fut_acct'] = "0030001000017110" 154 xmldict['bank_id'] = '89' 172 xmldict['fut_acct'] = "0591201005146" 173 xmldict['bank_id'] = '101' 155 174 elif student_record.level in ('200'): 175 xmldict['fut_acct'] = "6013803345" 176 xmldict['bank_id'] = '117' 177 elif student_record.level in ('300'): 156 178 xmldict['fut_acct'] = "2522040000134" 157 179 xmldict['bank_id'] = '8' 158 elif student_record.level in ('300','400'): 159 xmldict['fut_acct'] = "0591201005146" 160 xmldict['bank_id'] = '101' 161 elif student_record.level in ('500'): 162 xmldict['fut_acct'] = "0030001000017110" 163 xmldict['bank_id'] = '89' 180 elif student_record.level in ('400','500'): 181 xmldict['fut_acct'] = "02530040000664" 182 xmldict['bank_id'] = '7' 164 183 #remedial students 165 elif student_record.level in ('000'):166 xmldict['fut_acct'] = "6013803183"167 xmldict['bank_id'] = '117'184 #elif student_record.level in ('000'): 185 #xmldict['fut_acct'] = "00000000000" 186 #xmldict['bank_id'] = '0' 168 187 else: 169 188 xmldict['fut_acct'] = "0000000000000" … … 191 210 192 211 return context.goto_interswitch_form(info=info) 193 -
WAeUP_SRP/trunk/skins/waeup_futminna/payments_view.pt
r4808 r4861 74 74 /> 75 75 <br /><br /> 76 <font color='red'>Surcharge for Late Registration of non-remedial students is 5000 Naira. </font>76 <font tal:condition="python:False" color='red'>Surcharge for Late Registration of non-remedial students is 5000 Naira. </font> 77 77 </form> 78 78 <form tal:condition="python: info.get('payment_method') == 'sc_payment'"
Note: See TracChangeset for help on using the changeset viewer.