Changeset 15940 for main/waeup.fceokene


Ignore:
Timestamp:
20 Jan 2020, 12:10:15 (5 years ago)
Author:
Henrik Bettermann
Message:

Change permissions for payment approval.

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

Legend:

Unmodified
Added
Removed
  • main/waeup.fceokene/trunk/src/waeup/fceokene/students/browser.py

    r15894 r15940  
    2929    StartClearancePage,
    3030    ExportPDFAdmissionSlip, StudyLevelDisplayFormPage,
    31     PaymentsManageFormPage)
     31    PaymentsManageFormPage,
     32    OnlinePaymentApproveView)
    3233from kofacustom.nigeria.students.browser import (
    3334    NigeriaOnlinePaymentDisplayFormPage,
     
    125126        'p_combi')
    126127
     128class OnlinePaymentApproveView(OnlinePaymentApproveView):
     129    grok.require('waeup.manageStudent')
     130
    127131class CustomExportPDFPaymentSlip(NigeriaExportPDFPaymentSlip):
    128132    """Deliver a PDF slip of the context.
  • main/waeup.fceokene/trunk/src/waeup/fceokene/students/viewlets.py

    r15939 r15940  
    1717##
    1818
     19import grok
    1920from waeup.kofa.students.viewlets import (
    2021    AdmissionSlipActionButton,
    21     AddPreviousPaymentActionButton, AddBalancePaymentActionButton)
     22    AddPreviousPaymentActionButton, AddBalancePaymentActionButton,
     23    ApprovePaymentActionButton)
    2224from waeup.kofa.students.workflow import ADMITTED
    2325
     
    4143#    def target_url(self):
    4244#        return ''
     45
     46class ApprovePaymentActionButton(ApprovePaymentActionButton):
     47
     48    grok.require('waeup.manageStudent')
Note: See TracChangeset for help on using the changeset viewer.