Changeset 5795 for WAeUP_SRP/trunk
- Timestamp:
- 5 Mar 2011, 12:34:09 (14 years ago)
- Location:
- WAeUP_SRP/trunk/skins
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_accommodation/getAccommodationRecords.py
r5621 r5795 56 56 row['reservation_status'] = ar.reservation_status 57 57 row['paid'] = ar.reservation_status == 'maintenance_fee_paid' 58 row['current_unpaid'] = not row['paid'] and ar.session == portal_session 58 row['current_unpaid'] = not row['paid'] and ar.session == portal_session and \ 59 student_record.review_state in ('cleared_and_validated', 60 'school_fee_paid', 61 'courses_registered', 62 'courses_validated',) 59 63 row['url'] = student_path 60 64 row['cancellation_allowed'] = info['is_so'] and ar.session == portal_session -
WAeUP_SRP/trunk/skins/waeup_futminna/getInterswitchParams.py
r5631 r5795 21 21 d['type'] = 'online' 22 22 d['status'] = 'started' 23 d['surcharge'] = '300'23 d['surcharge'] = 300 24 24 if test == 'simulate': 25 25 d['action'] = "%s/payments/%s/simulate_callback" % (student.absolute_url(),payment_id) #do not use simulate_callback … … 36 36 d['pay_item_name'] = "FUT Minna %(type_description)s" % d 37 37 if paytype == 'HOMH': 38 d[' amount'] = 1500038 d['fee'] = 15000 39 39 elif student_record.level in ('100','200','300','400','500') and student_record.faculty in ('EET','SET','AAT','ICT','EMT'): 40 d[' amount'] = 900040 d['fee'] = 9000 41 41 else: 42 d['amount'] = 7000 42 d['fee'] = 7000 43 d['amount'] = d['fee'] + d['surcharge'] 43 44 d['category'] = 'hostel_maintenance' 44 45 d['item'] = paytype … … 50 51 xmldict['department'] = student_record.department 51 52 xmldict['faculty'] = student_record.faculty 52 xmldict['fut_amount'] = "%d" % int(100*d[' amount'])53 xmldict['fut_amount'] = "%d" % int(100*d['fee']) 53 54 54 55 xmltext = """<payment_item_detail> -
WAeUP_SRP/trunk/skins/waeup_futminna/getSchoolFee.py
r5683 r5795 21 21 if str(brain.level) == '000' and brain.review_state == 'cleared_and_validated': 22 22 if brain.entry_mode == 'rmd_ft': 23 d['all'] = 80200 23 d['lrf'] = late_registration_fee 24 d['all'] = 80200 24 25 else: 25 d['all'] = 74200 26 d['lrf'] = late_registration_fee 27 d['all'] = 74200 26 28 27 29 # fresh 28 30 elif brain.review_state == 'cleared_and_validated': 29 31 if brain.mode == 'jm_ft': 30 d['all'] = 72700 32 d['lrf'] = late_registration_fee 33 d['all'] = 72700 31 34 elif brain.lga == 'foreigner': 32 d['all'] = 131500 35 d['lrf'] = late_registration_fee 36 d['all'] = 131500 33 37 else: 34 d['all'] = 41500 38 d['lrf'] = late_registration_fee 39 d['all'] = 41500 35 40 # returning 36 41 elif brain.review_state == 'returning': 37 42 if brain.mode == 'jm_ft': 38 d['all'] = 32500 + late_registration_fee 43 d['lrf'] = late_registration_fee 44 d['all'] = 32500 39 45 elif brain.lga == 'foreigner': 40 d['all'] = 109500 + late_registration_fee 46 d['lrf'] = late_registration_fee 47 d['all'] = 109500 41 48 else: 42 d['all'] = 19500 + late_registration_fee 49 d['lrf'] = late_registration_fee 50 d['all'] = 19500 43 51 else: 44 52 d['all'] = 0 -
WAeUP_SRP/trunk/skins/waeup_futminna/goto_interswitch_form.pt
r5601 r5795 27 27 <td tal:content="info/pay_bill_to" /> 28 28 </tr> 29 <tr> 30 <td > 31 Amount: 29 30 <tr tal:condition="info/fee|nothing"> 31 <td> 32 Fee: 32 33 </td> 33 <td> Naira <span tal:content="info/ amount" /></td>34 </tr> 35 <tr >34 <td> Naira <span tal:content="info/fee" /></td> 35 </tr> 36 <tr tal:condition="info/surcharge|nothing"> 36 37 <td > 37 38 Surcharge: 38 39 </td> 39 40 <td> Naira <span tal:content="info/surcharge" /></td> 40 </tr> 41 </tr> 42 <tr tal:condition="info/lrf|nothing"> 43 <td width="200px"> 44 Late Registration Fee: 45 </td> 46 <td> Naira <span tal:content="info/lrf" /></td> 47 </tr> 48 <tr> 49 <td > 50 Total Amount: 51 </td> 52 <td> Naira <span tal:content="info/amount" /></td> 53 </tr> 54 41 55 42 56 </table> -
WAeUP_SRP/trunk/skins/waeup_futminna/interswitch_form.pt
r5794 r5795 20 20 </td> 21 21 <td tal:content="info/pay_bill_to" /> 22 </tr> 23 <tr tal:condition="info/fee|nothing"> 24 <td> 25 Fee: 26 </td> 27 <td> Naira <span tal:content="info/fee" /></td> 28 </tr> 29 <tr tal:condition="info/lrf|nothing"> 30 <td width="200px"> 31 Late Registration Fee: 32 </td> 33 <td> Naira <span tal:content="info/lrf" /></td> 22 34 </tr> 23 35 <tr> 24 36 <td > 25 Amount:37 Total Amount: 26 38 </td> 27 39 <td> Naira <span tal:content="info/amount" /></td> -
WAeUP_SRP/trunk/skins/waeup_futminna/pay_interswitch.py
r5600 r5795 90 90 91 91 92 info['surcharge'] = 0 # students don't have to pay the surcharge, FUT is paying for them 93 interswitch_amount = 300 94 info['amount'] = amount = fee_dict['all'] 92 # students don't have to pay the Interswitch surcharge, FUT is paying for them 93 info['lrf'] = fee_dict['lrf'] 94 info['fee'] = fee_dict['all'] 95 info['amount'] = amount = info['fee'] + info['lrf'] 95 96 total_amount = 100*int(amount) 96 97 … … 145 146 146 147 bt_amount = 1500 148 interswitch_amount = 300 147 149 #fut_split = 0000 #not appicable 148 150 fut_amount = amount - bt_amount - interswitch_amount -
WAeUP_SRP/trunk/skins/waeup_futminna/pay_interswitch_acco.py
r5628 r5795 64 64 else: 65 65 payments = getattr(student,'payments') 66 if request.has_key('epayment'):67 return context.interswitch_form(info=info)68 66 69 67 … … 100 98 args[arg] = info[field] 101 99 interswitch_amount = int(info['surcharge'])*100 102 uni_amount = int(info[' amount'])*100100 uni_amount = int(info['fee'])*100 103 101 total_amount = interswitch_amount + uni_amount 104 102 args['Amount'] = "%d" % (total_amount)
Note: See TracChangeset for help on using the changeset viewer.