Changeset 11457


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

Apply _isPaymentDisabled method.

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

Legend:

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

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

    r10876 r11457  
    285285               ticket.p_session == p_session:
    286286                  return _('This type of payment has already been made.'), None
     287        if self._isPaymentDisabled(p_session, category, student):
     288            return _('Payment temporarily disabled.'), None
    287289        payment = createObject(u'waeup.StudentOnlinePayment')
    288290        timestamp = ("%d" % int(time()*10000))[1:]
Note: See TracChangeset for help on using the changeset viewer.