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

Apply _isPaymentDisabled method.

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

Legend:

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

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