Changeset 14234
- Timestamp:
- 27 Oct 2016, 14:20:09 (8 years ago)
- Location:
- main/waeup.aaue/trunk/src/waeup/aaue
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.aaue/trunk/src/waeup/aaue/etranzact/browser.py
r14087 r14234 125 125 'AAU-STUDENT-WELFARE-ASSURANCE': ('welfare',), 126 126 'AAU-STUDENT-WELFARE-ASSURANCE-PT': ('welfare',), 127 128 'AAU-STUDENT-ID_CARD': ('id_card',), 127 129 128 130 'HOSTEL-ACCOMMODATION-FEE': ('hostel_maintenance',), -
main/waeup.aaue/trunk/src/waeup/aaue/interfaces.py
r14117 r14234 116 116 ) 117 117 118 id_card_fee = schema.Float( 119 title = _(u'Student ID Card Fee'), 120 default = 0.0, 121 required = True, 122 ) 123 118 124 welfare_fee = schema.Float( 119 125 title = _(u'AAU Student Welfare Assurance Fee'), -
main/waeup.aaue/trunk/src/waeup/aaue/interswitch/browser.py
r14232 r14234 409 409 </payment_item_detail>""" % xmldict 410 410 411 # ID Card 412 elif self.context.p_category == 'id_card': 413 self.pay_item_id = '000' 414 xmldict['institution_acct'] = '1010827641' 415 xmldict['institution_bank_id'] = '117' 416 xmldict['institution_amt'] = 100 * ( 417 gateway_net_amt(self.context.amount_auth)) 418 xmltext = """<payment_item_detail> 419 <item_details detail_ref="%(detail_ref)s" college="%(institution_name)s" department="%(department)s" faculty="%(faculty)s"> 420 <item_detail item_id="1" item_name="%(institution_item_name)s" item_amt="%(institution_amt)d" bank_id="%(institution_bank_id)s" acct_num="%(institution_acct)s" /> 421 </item_details> 422 </payment_item_detail>""" % xmldict 423 411 424 # Matric Gown 412 425 elif self.context.p_category == 'matric_gown': -
main/waeup.aaue/trunk/src/waeup/aaue/students/utils.py
r14229 r14234 193 193 elif category == 'welfare' and not student.is_postgrad: 194 194 amount = academic_session.welfare_fee 195 elif category == 'id_card' and not student.is_postgrad: 196 amount = academic_session.id_card_fee 195 197 elif category == 'union' and not student.is_postgrad: 196 198 amount = academic_session.union_fee -
main/waeup.aaue/trunk/src/waeup/aaue/utils/utils.py
r13963 r14234 47 47 'matric_gown': 'Matriculation Gown Fee', 48 48 'concessional': 'Concessional Fee', 49 'id_card': 'Student ID Card', 49 50 } 50 51 … … 67 68 'matric_gown': 'Matriculation Gown Fee', 68 69 'concessional': 'Concessional Fee', 70 'id_card': 'Student ID Card', 69 71 } 70 72 … … 88 90 'lapel': 'Lapel/File Fee', 89 91 'matric_gown': 'Matriculation Gown Fee', 92 'id_card': 'Student ID Card', 90 93 } 91 94
Note: See TracChangeset for help on using the changeset viewer.