- Timestamp:
- 17 Jul 2022, 08:50:14 (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.unidel/trunk/src/kofacustom/unidel/students/interfaces.py
r16949 r17025 19 19 from zope import schema 20 20 from waeup.kofa.students.vocabularies import StudyLevelSource 21 from waeup.kofa.interfaces import (IKofaObject, academic_sessions_vocab) 21 22 from kofacustom.nigeria.students.interfaces import ( 22 23 INigeriaStudentBase, INigeriaUGStudentClearance, INigeriaPGStudentClearance, … … 107 108 """ 108 109 110 score = schema.Int( 111 title = _(u'Score'), 112 required = False, 113 readonly = False, 114 max = 100, 115 ) 116 117 ca = schema.Int( 118 title = _(u'CA'), 119 default = None, 120 required = False, 121 missing_value = None, 122 max = 90, 123 ) 124 125 ICustomCourseTicket['score'].order = INigeriaCourseTicket['score'].order 126 ICustomCourseTicket['ca'].order = ICustomCourseTicket['score'].order 127 128 class ICustomCourseTicketImport(ICustomCourseTicket): 129 """An interface for importing course results and nothing more. 130 """ 131 132 score = schema.Int( 133 title = _(u'Score'), 134 required = False, 135 readonly = False, 136 max = 100, 137 ) 138 139 ca = schema.Int( 140 title = _(u'CA'), 141 required = False, 142 readonly = False, 143 max = 90, 144 ) 145 146 level_session = schema.Choice( 147 title = _(u'Level Session'), 148 source = academic_sessions_vocab, 149 required = False, 150 readonly = False, 151 ) 152 153 109 154 class ICustomStudentUpdateByRegNo(INigeriaStudentUpdateByRegNo): 110 155 """Representation of a student. Skip regular reg_number validation.
Note: See TracChangeset for help on using the changeset viewer.