- Timestamp:
- 14 Feb 2023, 09:27:44 (23 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.edopoly/trunk/src/kofacustom/edopoly/students/browser.py
r15718 r17342 20 20 from zope.schema.interfaces import ConstraintNotSatisfied 21 21 from zope.component import getUtility 22 from zope.security import checkPermission 22 23 from hurry.workflow.interfaces import IWorkflowInfo 23 24 from waeup.kofa.interfaces import REQUESTED, IExtFileStore, IKofaUtils … … 30 31 CourseTicketDisplayFormPage, StudentTriggerTransitionFormPage, 31 32 ExportPDFTranscriptSlip, 33 PaymentsManageFormPage, 32 34 msave, emit_lock_message) 33 35 from waeup.kofa.students.interfaces import ( … … 47 49 ICustomStudentStudyLevel, ICustomStudent) 48 50 from kofacustom.edopoly.interfaces import MessageFactory as _ 51 52 class CustomPaymentsManageFormPage(PaymentsManageFormPage): 53 @property 54 def manage_payments_allowed(self): 55 return checkPermission('waeup.manageStudent', self.context) 49 56 50 57 class CustomBedTicketAddPage(NigeriaBedTicketAddPage):
Note: See TracChangeset for help on using the changeset viewer.