Ignore:
Timestamp:
12 Jun 2012, 12:43:13 (12 years ago)
Author:
Henrik Bettermann
Message:

Stop payments if application period expired.

File:
1 edited

Legend:

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

    r8630 r8694  
    303303            self.redirect(self.url(self.context, '@@index'))
    304304            return
     305        if self.context.__parent__.__parent__.expired:
     306            self.flash(_("Payment ticket can't be send to CollegePAY. "
     307                         "Application period has expired."))
     308            self.redirect(self.url(self.context, '@@index'))
     309            return
    305310        self.applicant = self.context.__parent__
    306311        self.amount_auth = 100 * self.context.amount_auth
Note: See TracChangeset for help on using the changeset viewer.