Changeset 13407 for main/waeup.aaue/trunk/src
- Timestamp:
- 7 Nov 2015, 12:11:10 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.aaue/trunk/src/waeup/aaue/interswitch/browser.py
r13406 r13407 139 139 current_session = student['studycourse'].current_session 140 140 try: 141 academic_session = grok.getSite()['configuration'][str(current_session)] 141 academic_session = grok.getSite()[ 142 'configuration'][str(current_session)] 142 143 except KeyError: 143 self.flash(_(u'Session configuration object is not available.'), type='danger') 144 self.flash(_(u'Session configuration object is not available.'), 145 type='danger') 144 146 self.redirect(self.url(self.context, '@@index')) 145 147 return … … 219 221 - joint_venture_amt 220 222 - aaue_share_amt 221 - (student_union_due_amt - GATEWAY_AMT)222 - (student_welfare_assurance_amt - GATEWAY_AMT)223 - GATEWAY_AMT)223 - (student_union_due_amt - dynamic_gateway_amt(self.context.amount_auth)) 224 - (student_welfare_assurance_amt - dynamic_gateway_amt(self.context.amount_auth)) 225 - dynamic_gateway_amt(self.context.amount_auth)) 224 226 xmltext = """<payment_item_detail> 225 227 <item_details detail_ref="%(detail_ref)s" college="%(institution_name)s" department="%(department)s" faculty="%(faculty)s"> … … 239 241 - joint_venture_amt 240 242 - aaue_share_amt 241 - GATEWAY_AMT)243 - dynamic_gateway_amt(self.context.amount_auth)) 242 244 xmltext = """<payment_item_detail> 243 245 <item_details detail_ref="%(detail_ref)s" college="%(institution_name)s" department="%(department)s" faculty="%(faculty)s"> … … 274 276 xmldict['institution_amt'] = 100 * ( 275 277 self.context.amount_auth 276 - (gown_fee_amt - GATEWAY_AMT)277 - (aaue_fl_fee_amt - GATEWAY_AMT)278 - GATEWAY_AMT)278 - (gown_fee_amt - dynamic_gateway_amt(self.context.amount_auth)) 279 - (aaue_fl_fee_amt - dynamic_gateway_amt(self.context.amount_auth)) 280 - dynamic_gateway_amt(self.context.amount_auth)) 279 281 xmltext = """<payment_item_detail> 280 282 <item_details detail_ref="%(detail_ref)s" college="%(institution_name)s" department="%(department)s" faculty="%(faculty)s"> … … 289 291 xmldict['institution_amt'] = 100 * ( 290 292 self.context.amount_auth 291 - GATEWAY_AMT)293 - dynamic_gateway_amt(self.context.amount_auth)) 292 294 xmltext = """<payment_item_detail> 293 295 <item_details detail_ref="%(detail_ref)s" college="%(institution_name)s" department="%(department)s" faculty="%(faculty)s">
Note: See TracChangeset for help on using the changeset viewer.