Changeset 11459


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

Apply _isPaymentDisabled method.

Location:
main/waeup.uniben/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.uniben/trunk/CHANGES.txt

    r11449 r11459  
    441.0.1dev (unreleased)
    55=====================
     6
     7* Apply _isPaymentDisabled method.
    68
    79* jquery-ui.min.js is also used for tooltips.
  • main/waeup.uniben/trunk/src/waeup/uniben/students/utils.py

    r10901 r11459  
    210210               ticket.p_session == p_session:
    211211                  return _('This type of payment has already been made.'), None
     212        if self._isPaymentDisabled(p_session, category, student):
     213            return _('Payment temporarily disabled.'), None
    212214        payment = createObject(u'waeup.StudentOnlinePayment')
    213215        timestamp = ("%d" % int(time()*10000))[1:]
Note: See TracChangeset for help on using the changeset viewer.