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

Apply _isPaymentDisabled method.

Location:
main/kofacustom.ekodisco/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/kofacustom.ekodisco/trunk/CHANGES.txt

    r11443 r11456  
    441.0.1dev (unreleased)
    55=====================
     6
     7* Apply _isPaymentDisabled method.
    68
    79* jquery-ui.min.js is also used for tooltips.
  • 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.