Ignore:
Timestamp:
10 Feb 2022, 16:43:49 (3 years ago)
Author:
Henrik Bettermann
Message:

Allow students to add balance payment tickets.

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

Legend:

Unmodified
Added
Removed
  • main/kofacustom.edocons/trunk/src/kofacustom/edocons/students/browser.py

    r16791 r16796  
    3232    CourseTicketDisplayFormPage, StudentTriggerTransitionFormPage,
    3333    ExportPDFAdmissionSlip, StartClearancePage, PaymentsManageFormPage,
    34     msave, emit_lock_message)
     34    BalancePaymentAddFormPage, msave, emit_lock_message)
    3535from waeup.kofa.students.interfaces import IStudentsUtils, ICourseTicket
    3636from waeup.kofa.students.workflow import FORBIDDEN_POSTGRAD_TRANS
     
    111111        return checkPermission('waeup.manageStudent', self.context)
    112112
     113class CustomBalancePaymentAddFormPage(BalancePaymentAddFormPage):
     114    grok.require('waeup.payStudent')
     115
  • main/kofacustom.edocons/trunk/src/kofacustom/edocons/students/viewlets.py

    r16639 r16796  
    2727    ExportPDFClearanceSlip, StudyCourseDisplayFormPage,
    2828    StudyLevelDisplayFormPage)
     29from waeup.kofa.students.viewlets import (
     30    AddPreviousPaymentActionButton, AddBalancePaymentActionButton,
     31    StudentPersonalEditActionButton)
    2932
    3033from kofacustom.nigeria.interfaces import MessageFactory as _
     34
     35class AddBalancePaymentActionButton(AddBalancePaymentActionButton):
     36    grok.require('waeup.payStudent')
Note: See TracChangeset for help on using the changeset viewer.