Changeset 11454


Ignore:
Timestamp:
27 Feb 2014, 10:59:50 (11 years ago)
Author:
Henrik Bettermann
Message:

Apply _isPaymentDisabled method.

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

Legend:

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

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

    r10192 r11454  
    116116               ticket.p_session == p_session:
    117117                  return _('This type of payment has already been made.'), None
     118        if self._isPaymentDisabled(p_session, category, student):
     119            return _('Payment temporarily disabled.'), None
    118120        payment = createObject(u'waeup.StudentOnlinePayment')
    119121        timestamp = ("%d" % int(time()*10000))[1:]
Note: See TracChangeset for help on using the changeset viewer.