Changeset 14347 for main


Ignore:
Timestamp:
15 Dec 2016, 16:28:49 (8 years ago)
Author:
Henrik Bettermann
Message:

Disable previous session payments.

Location:
main/kofacustom.coewarri/trunk/src/kofacustom/coewarri/students
Files:
2 edited

Legend:

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

    r14344 r14347  
    7272        p_current = True
    7373        academic_session = self._getSessionConfiguration(p_session)
     74        if previous_session:
     75            return _('Previous session payment not yet implemented.'), None
    7476        if academic_session == None:
    7577            return _(u'Session configuration object is not available.'), None
  • main/kofacustom.coewarri/trunk/src/kofacustom/coewarri/students/viewlets.py

    r14035 r14347  
    2020from waeup.kofa.interfaces import REQUESTED
    2121from waeup.kofa.browser.viewlets import ManageActionButton
     22from waeup.kofa.students.viewlets import AddPreviousPaymentActionButton
    2223from kofacustom.coewarri.students.interfaces import (
    2324    ICustomStudentStudyCourse, ICustomStudentStudyLevel)
     
    2930
    3031from kofacustom.nigeria.interfaces import MessageFactory as _
     32
     33class AddPreviousPaymentActionButton(AddPreviousPaymentActionButton):
     34
     35    @property
     36    def target_url(self):
     37        return ''
Note: See TracChangeset for help on using the changeset viewer.