Ignore:
Timestamp:
14 May 2014, 05:26:13 (11 years ago)
Author:
Henrik Bettermann
Message:

Use init_update and samePaymentMade methods.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.aaua/trunk/src/waeup/aaua/interswitch/browser.py

    r11637 r11648  
    7474
    7575    def update(self):
    76         student, certificate, xmldict = super(
    77             CustomInterswitchPageStudent, self).update()
     76        error = self.init_update()
     77        if error:
     78            self.flash(error, type='danger')
     79            self.redirect(self.url(self.context, '@@index'))
     80            return
     81        student = self.student
     82        xmldict = self.xmldict
    7883        # Provider data
    7984        xmldict['detail_ref'] = self.context.p_id
Note: See TracChangeset for help on using the changeset viewer.