Changeset 14572 for main/waeup.kofa
- Timestamp:
- 22 Feb 2017, 11:20:40 (8 years ago)
- Location:
- main/waeup.kofa/trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/CHANGES.txt
r14568 r14572 5 5 1.5.1.dev0 (unreleased) 6 6 ======================= 7 8 * Exclude graduated students from `LevelReport`, `SessionResultsPresentation` 9 and `RawScoreReport`. 7 10 8 11 * Allow applicants in states `admitted`, `not admitted` or `created` to -
main/waeup.kofa/trunk/src/waeup/kofa/students/reports/level_report.py
r14554 r14572 23 23 from zope.interface import implementer, Interface, Attribute 24 24 from waeup.kofa.interfaces import ( 25 IKofaUtils, 25 IKofaUtils, GRADUATED, 26 26 academic_sessions_vocab, registration_states_vocab) 27 27 from waeup.kofa.interfaces import MessageFactory as _ … … 59 59 for stud in result: 60 60 if not stud['studycourse'].has_key(str(level)): 61 continue 62 if stud.state == GRADUATED: 61 63 continue 62 64 level_obj = stud['studycourse'][str(level)] -
main/waeup.kofa/trunk/src/waeup/kofa/students/reports/raw_score_report.py
r14514 r14572 23 23 from zope.interface import implementer, Interface, Attribute 24 24 from waeup.kofa.interfaces import ( 25 IKofaUtils, 25 IKofaUtils, GRADUATED, 26 26 academic_sessions_vocab, registration_states_vocab) 27 27 from waeup.kofa.interfaces import MessageFactory as _ … … 77 77 for stud in result: 78 78 if not stud['studycourse'].has_key(str(level)): 79 continue 80 if stud.state == GRADUATED: 79 81 continue 80 82 level_obj = stud['studycourse'][str(level)] -
main/waeup.kofa/trunk/src/waeup/kofa/students/reports/session_results_presentation.py
r14514 r14572 22 22 from zope.interface import implementer, Interface, Attribute 23 23 from waeup.kofa.interfaces import ( 24 IKofaUtils, 24 IKofaUtils, GRADUATED, 25 25 academic_sessions_vocab, registration_states_vocab) 26 26 from waeup.kofa.students.vocabularies import StudyLevelSource … … 61 61 table.append([]) 62 62 for stud in result: 63 if stud.state == GRADUATED: 64 continue 63 65 line = (stud.student_id, 64 66 stud.matric_number,
Note: See TracChangeset for help on using the changeset viewer.