- Timestamp:
- 22 Aug 2016, 09:05:34 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/students/reports/level_report.py
r14079 r14103 60 60 passed_params = level_obj.passed_params 61 61 failed_courses = textwrap.fill(passed_params[4], 35) 62 certificate = getattr(stud['studycourse'],'certificate',None) 63 end_level = certificate.end_level 64 if stud.current_level >= end_level: 65 remark = getattr(level_obj, 'final_remark', None) 66 else: 67 remark = getattr(level_obj, 'remark', None) 62 68 line = ( 63 69 #stud.student_id, … … 71 77 level_obj.cumulative_params[4], 72 78 level_obj.cumulative_params[0], 73 getattr(level_obj, 'remark', None),79 remark, 74 80 ) 75 81 table.append(line)
Note: See TracChangeset for help on using the changeset viewer.