Ignore:
Timestamp:
27 Feb 2014, 11:01:18 (11 years ago)
Author:
Henrik Bettermann
Message:

Apply _isPaymentDisabled method.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/kofacustom.ekodisco/trunk/src/kofacustom/ekodisco/students/utils.py

    r10824 r11456  
    8080               ticket.p_session == p_session:
    8181                  return _('This type of payment has already been made.'), None
     82        if self._isPaymentDisabled(p_session, category, student):
     83            return _('Payment temporarily disabled.'), None
    8284        payment = createObject(u'waeup.StudentOnlinePayment')
    8385        timestamp = ("%d" % int(time()*10000))[1:]
Note: See TracChangeset for help on using the changeset viewer.