Ignore:
Timestamp:
23 Jan 2015, 16:05:37 (10 years ago)
Author:
Henrik Bettermann
Message:

Adjust to base package.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/kofacustom.skeleton/trunk/src/kofacustom/skeleton/interswitch/browser.py

    r12479 r12511  
    6060
    6161    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()
    6763        student = self.student
    6864        xmldict = self.xmldict
     
    7975        self.pay_item_id = '0000'
    8076        xmldict['provider_amt'] = 100 * provider_amt
    81         xmldict['institution_item_name'] = self.category
     77        xmldict['institution_item_name'] = self.context.category
    8278        xmldict['institution_name'] = INSTITUTION_NAME
    8379        xmldict['institution_amt'] = 100 * (
     
    135131        xmldict['provider_item_name'] = PROVIDER_ITEM_NAME
    136132        xmldict['institution_amt'] = 100 * (self.context.amount_auth - provider_amt - GATEWAY_AMT)
    137         xmldict['institution_item_name'] = self.context.p_category
     133        xmldict['institution_item_name'] = self.context.category
    138134        xmldict['institution_name'] = INSTITUTION_NAME
    139135        # Interswitch amount is not part of the xml data
Note: See TracChangeset for help on using the changeset viewer.