Changeset 14528
- Timestamp:
- 9 Feb 2017, 12:53:43 (8 years ago)
- Location:
- main/waeup.aaue/trunk/src/waeup/aaue/students/reports
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.aaue/trunk/src/waeup/aaue/students/reports/level_report.py
r14517 r14528 41 41 if not hod: 42 42 hod = 'Head of Department' 43 dean = dean.replace(' - ', '<br />') 44 hod = hod.replace(' - ', '<br />') 43 45 return [hod, dean] 44 46 -
main/waeup.aaue/trunk/src/waeup/aaue/students/reports/raw_score_report.py
r14517 r14528 33 33 if not hod: 34 34 hod = 'Head of Department' 35 dean = dean.replace(' - ', '<br />') 36 hod = hod.replace(' - ', '<br />') 35 37 return [hod, dean] 36 38 -
main/waeup.aaue/trunk/src/waeup/aaue/students/reports/session_results_presentation.py
r14517 r14528 57 57 if not examiner: 58 58 examiner = 'External Examiner' 59 dean = dean.replace(' - ', '<br />') 60 hod = hod.replace(' - ', '<br />') 61 examiner = examiner.replace(' - ', '<br />') 59 62 return [hod, examiner, dean] 60 63 -
main/waeup.aaue/trunk/src/waeup/aaue/students/reports/tests/test_level_report.py
r14517 r14528 36 36 def test_create_pdf(self): 37 37 self.student['studycourse']['100']['Course1'].ca = 0 38 self.app['faculties']['fac1'].officer_1 = 'Rosa Moonshine (Dean of Faculty)'39 self.app['faculties']['fac1']['dep1'].officer_1 = 'Amalia Sunshine (Head of Department)'38 self.app['faculties']['fac1'].officer_1 = 'Rosa Moonshine - Dean of Faculty' 39 self.app['faculties']['fac1']['dep1'].officer_1 = 'Amalia Sunshine - Head of Department' 40 40 report = CustomLevelReport('fac1', 'dep1', 'CERT1', 2010, 100) 41 41 result = report.create_pdf('JOB_ID') -
main/waeup.aaue/trunk/src/waeup/aaue/students/reports/tests/test_raw_score_report.py
r14517 r14528 61 61 self.app['faculties']['fac1']['dep1'].certificates[ 62 62 'CERT1'].addCertCourse(self.course, level=100) 63 self.app['faculties']['fac1'].officer_1 = 'Rosa Moonshine (Dean of Faculty)'64 self.app['faculties']['fac1']['dep1'].officer_1 = 'Amalia Sunshine (Head of Department)'63 self.app['faculties']['fac1'].officer_1 = 'Rosa Moonshine - Dean of Faculty' 64 self.app['faculties']['fac1']['dep1'].officer_1 = 'Amalia Sunshine - Head of Department' 65 65 studylevel = createObject('waeup.StudentStudyLevel') 66 66 studylevel.level = 200 -
main/waeup.aaue/trunk/src/waeup/aaue/students/reports/tests/test_session_results_presentation.py
r14517 r14528 42 42 def test_create_pdf(self): 43 43 self.certificate.degree = 'BA(FS)' 44 self.app['faculties']['fac1'].officer_1 = 'Rosa Moonshine (Dean of Faculty)'45 self.app['faculties']['fac1']['dep1'].officer_1 = 'Amalia Sunshine (Head of Department)'46 self.app['faculties']['fac1']['dep1'].officer_2 = 'Theresa Starbright (External Examiner)'44 self.app['faculties']['fac1'].officer_1 = 'Rosa Moonshine - Dean of Faculty' 45 self.app['faculties']['fac1']['dep1'].officer_1 = 'Amalia Sunshine - Head of Department' 46 self.app['faculties']['fac1']['dep1'].officer_2 = 'Theresa Starbright - External Examiner' 47 47 report = CustomSessionResultsPresentation('fac1', 'dep1', 'CERT1', 2010, 100) 48 48 result = report.create_pdf('JOB_ID')
Note: See TracChangeset for help on using the changeset viewer.