Changeset 18369 for main/kofacustom.unidel
- Timestamp:
- 27 Nov 2026, 11:41:40 (12 hours ago)
- Location:
- main/kofacustom.unidel/trunk/src/kofacustom/unidel
- Files:
-
- 2 edited
-
students/interfaces.py (modified) (3 diffs)
-
utils/utils.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.unidel/trunk/src/kofacustom/unidel/students/interfaces.py
r18313 r18369 19 19 from zope import schema 20 20 from waeup.kofa.students.vocabularies import StudyLevelSource 21 from waeup.kofa.schema import TextLineChoice, FormattedDate 21 22 from waeup.kofa.interfaces import ( 22 IKofaObject, academic_sessions_vocab, validate_email) 23 IKofaObject, academic_sessions_vocab, validate_email, 24 ContextualDictSourceFactoryBase) 25 23 26 from kofacustom.nigeria.students.interfaces import ( 24 27 INigeriaStudentBase, INigeriaUGStudentClearance, INigeriaPGStudentClearance, … … 30 33 from kofacustom.unidel.interfaces import MessageFactory as _ 31 34 35 #class FinalGradeSource(ContextualDictSourceFactoryBase): 36 # """Unidel only 37 # """ 38 # #: name of dict to deliver from kofa utils. 39 # DICT_NAME = 'FINAL_GRADE_DICT' 40 32 41 class ICustomStudentBase(INigeriaStudentBase): 33 42 """Representation of student base data. … … 121 130 ) 122 131 132 award_date = FormattedDate( 133 title = _(u'Award Date'), 134 required = False, 135 readonly = False, 136 show_year = True, 137 ) 138 139 # final_grade = schema.Choice( 140 # title = _(u'Final Grade'), 141 # source = FinalGradeSource(), 142 # required = False, 143 # ) 144 123 145 class ICustomStudentStudyLevel(INigeriaStudentStudyLevel): 124 146 """A container for course tickets. -
main/kofacustom.unidel/trunk/src/kofacustom/unidel/utils/utils.py
r18365 r18369 106 106 return self.SELECTABLE_PAYMENT_CATEGORIES 107 107 108 #FINAL_GRADE_DICT = { 109 # 'frns': 'FRNS / NER / NYV', 110 # 'irns': 'IRNS / NER / NYV', 111 # 'pass': 'Pass', 112 # '3rd': '3rd Class Honours', 113 # '2ndlow': '2nd Class Honours Lower Division', 114 # '2ndup': '2nd Class Honours Upper Division', 115 # '1st': '1st Class Honours', 116 # 'merit': 'Merit', 117 # 'credit': 'Credit', 118 # 'distinct': 'Distinction', 119 # } 120 108 121 PREVIOUS_PAYMENT_CATEGORIES = deepcopy(SELECTABLE_PAYMENT_CATEGORIES) 109 122
Note: See TracChangeset for help on using the changeset viewer.
