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

Use init_update and samePaymentMade methods.

File:
1 edited

Legend:

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

    r11635 r11649  
    5858
    5959    def update(self):
    60         student, certificate, xmldict = super(
    61             CustomInterswitchPageStudent, self).update()
     60        error = self.init_update()
     61        if error:
     62            self.flash(error, type='danger')
     63            self.redirect(self.url(self.context, '@@index'))
     64            return
     65        student = self.student
     66        xmldict = self.xmldict
    6267        # Provider data
    6368        provider_amt = 1600.0
Note: See TracChangeset for help on using the changeset viewer.