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

Apply _isPaymentDisabled method.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.aaue/trunk/src/waeup/aaue/students/utils.py

    r11004 r11455  
    169169               ticket.p_session == p_session:
    170170                  return _('This type of payment has already been made.'), None
     171        if self._isPaymentDisabled(p_session, category, student):
     172            return _('Payment temporarily disabled.'), None
    171173        payment = createObject(u'waeup.StudentOnlinePayment')
    172174        timestamp = ("%d" % int(time()*10000))[1:]
Note: See TracChangeset for help on using the changeset viewer.