Changeset 7621
- Timestamp:
- 9 Feb 2012, 20:06:14 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.custom/trunk/src/waeup/custom/students/utils.py
r7419 r7621 47 47 grok.implements(IStudentsUtils) 48 48 49 # not yet changed 50 def setReturningData(self, student): 51 student['studycourse'].current_level += 100 52 student['studycourse'].current_session += 1 53 verdict = student['studycourse'].current_verdict 54 student['studycourse'].current_verdict = '0' 55 student['studycourse'].previous_verdict = verdict 56 return 57 49 58 def getPaymentDetails(self, category, student): 50 59 d = {} … … 81 90 d['error'] = u'Amount could not be determined.' 82 91 return d 92 93 def getVerdictsDict(self): 94 """Provide a dictionary of verdicts. 95 """ 96 return { 97 '0': 'not yet', 98 'A': 'Successful student', 99 'B': 'Student with carryover courses', 100 'C': 'Student on probation', 101 'D': 'Withdrawn from the faculty', 102 'E': 'Student who were previously on probation', 103 'F': 'Medical case', 104 'G': 'Absent from examination', 105 } 106
Note: See TracChangeset for help on using the changeset viewer.