Ignore:
Timestamp:
9 Jul 2018, 11:56:56 (6 years ago)
Author:
Henrik Bettermann
Message:

Use correct p_session.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/kofacustom.edopoly/trunk/src/kofacustom/edopoly/students/utils.py

    r15072 r15078  
    156156            p_session, p_level = self.getReturningData(student)
    157157        if category == 'schoolfee':
    158             rpm, rpt = self._requiredPaymentsMade(student, p_session)
    159             if not rpm:
    160                 return 'Pay %s fee(s) first.' % rpt, None
    161158            try:
    162159                certificate = student['studycourse'].certificate
     
    190187                            u'Session configuration object is not available.'
    191188                            ), None
     189            rpm, rpt = self._requiredPaymentsMade(student, p_session)
     190            if not rpm:
     191                return 'Pay %s fee(s) first.' % rpt, None
    192192        elif category == 'clearance':
    193193            try:
Note: See TracChangeset for help on using the changeset viewer.