Changeset 16718 for main/kofacustom.skeleton/trunk
- Timestamp:
- 24 Nov 2021, 06:52:16 (3 years ago)
- Location:
- main/kofacustom.skeleton/trunk/src/kofacustom/skeleton
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.skeleton/trunk/src/kofacustom/skeleton/applicants/browser.py
r16717 r16718 23 23 from kofacustom.nigeria.applicants.browser import ( 24 24 NigeriaApplicantDisplayFormPage, 25 NigeriaApplicantManageFormPage, 26 NigeriaApplicantEditFormPage, 25 27 NigeriaPDFApplicationSlip) 28 29 from kofacustom.nigeria.applicants.interfaces import ( 30 INigeriaPGApplicant, INigeriaUGApplicant, 31 INigeriaPGApplicantEdit, INigeriaUGApplicantEdit, 32 INigeriaApplicantOnlinePayment, 33 UG_OMIT_DISPLAY_FIELDS, 34 UG_OMIT_PDF_FIELDS, 35 UG_OMIT_MANAGE_FIELDS, 36 UG_OMIT_EDIT_FIELDS, 37 PG_OMIT_DISPLAY_FIELDS, 38 PG_OMIT_PDF_FIELDS, 39 PG_OMIT_MANAGE_FIELDS, 40 PG_OMIT_EDIT_FIELDS, 41 ) 42 from kofacustom.skeleton.applicants.interfaces import ( 43 ICustomPGApplicant, ICustomUGApplicant, ICustomApplicant, 44 ICustomPGApplicantEdit, ICustomUGApplicantEdit, 45 ICustomApplicantOnlinePayment, 46 ) 26 47 27 48 from kofacustom.skeleton.interfaces import MessageFactory as _ 28 49 50 class CustomApplicantEditFormPage(NigeriaApplicantEditFormPage): 51 """An applicant-centered edit view for applicant data. 52 """ 53 54 def unremovable(self, ticket): 55 return True 56 -
main/kofacustom.skeleton/trunk/src/kofacustom/skeleton/students/browser.py
r16717 r16718 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 … … 29 30 StudentBasePDFFormPage, ExportPDFCourseRegistrationSlip, 30 31 CourseTicketDisplayFormPage, StudentTriggerTransitionFormPage, 31 msave, emit_lock_message)32 PaymentsManageFormPage, msave, emit_lock_message) 32 33 from waeup.kofa.students.interfaces import IStudentsUtils, ICourseTicket 33 34 from waeup.kofa.students.workflow import FORBIDDEN_POSTGRAD_TRANS … … 46 47 from kofacustom.skeleton.interfaces import MessageFactory as _ 47 48 49 class CustomPaymentsManageFormPage(PaymentsManageFormPage): 50 """ Page to manage the student payments. This manage form page is for 51 both students and students officers. SKELETON does not allow students 52 to remove any payment ticket. 53 """ 54 @property 55 def manage_payments_allowed(self): 56 return checkPermission('waeup.manageStudent', self.context)
Note: See TracChangeset for help on using the changeset viewer.