Changeset 12511 for main/kofacustom.skeleton/trunk
- Timestamp:
- 23 Jan 2015, 16:05:37 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.skeleton/trunk/src/kofacustom/skeleton/interswitch/browser.py
r12479 r12511 60 60 61 61 def update(self): 62 error = self.init_update() 63 if error: 64 self.flash(error, type='danger') 65 self.redirect(self.url(self.context, '@@index')) 66 return 62 super(CustomInterswitchPageStudent, self).update() 67 63 student = self.student 68 64 xmldict = self.xmldict … … 79 75 self.pay_item_id = '0000' 80 76 xmldict['provider_amt'] = 100 * provider_amt 81 xmldict['institution_item_name'] = self.c ategory77 xmldict['institution_item_name'] = self.context.category 82 78 xmldict['institution_name'] = INSTITUTION_NAME 83 79 xmldict['institution_amt'] = 100 * ( … … 135 131 xmldict['provider_item_name'] = PROVIDER_ITEM_NAME 136 132 xmldict['institution_amt'] = 100 * (self.context.amount_auth - provider_amt - GATEWAY_AMT) 137 xmldict['institution_item_name'] = self.context. p_category133 xmldict['institution_item_name'] = self.context.category 138 134 xmldict['institution_name'] = INSTITUTION_NAME 139 135 # Interswitch amount is not part of the xml data
Note: See TracChangeset for help on using the changeset viewer.