Changeset 10269
- Timestamp:
- 1 Jun 2013, 06:28:59 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.aaue/trunk/src/waeup/aaue/students/browser.py
r10102 r10269 26 26 CourseTicketAddFormPage, 27 27 StudyLevelDisplayFormPage, 28 ExportPDFCourseRegistrationSlipPage)28 ) 29 29 from kofacustom.nigeria.students.browser import ( 30 30 NigeriaOnlinePaymentDisplayFormPage, 31 31 NigeriaOnlinePaymentAddFormPage, 32 NigeriaExportPDFPaymentSlipPage) 32 NigeriaExportPDFPaymentSlipPage, 33 NigeriaExportPDFCourseRegistrationSlipPage 34 ) 33 35 from waeup.aaue.students.interfaces import ( 34 36 ICustomStudentOnlinePayment, … … 71 73 72 74 class CustomExportPDFCourseRegistrationSlipPage( 73 ExportPDFCourseRegistrationSlipPage):75 NigeriaExportPDFCourseRegistrationSlipPage): 74 76 """Deliver a PDF slip of the context. 75 77 """ … … 78 80 'level_session', 'level_verdict', 79 81 'validated_by', 'validation_date', 'gpa') 82 83 omit_fields = ('password', 'suspended', 'suspended_comment', 84 'phone', 'adm_code', 'sex', 'email', 'date_of_birth', 'department') 80 85 81 86 @property … … 121 126 Score = translate('Score', 'waeup.kofa', target_language=portal_language) 122 127 Grade = translate('Grade', 'waeup.kofa', target_language=portal_language) 123 Signature = translate(_(' CourseLecturer\'s Signature'), 'waeup.aaue',128 Signature = translate(_('Lecturer\'s Signature'), 'waeup.aaue', 124 129 target_language=portal_language) 125 130 studentview = StudentBasePDFFormPage(self.context.student, … … 133 138 key=lambda value: str(value.semester) + value.code) 134 139 tableheader = [(Code,'code', 2.0), 135 (Title,'title', 5),140 (Title,'title', 7), 136 141 (Cred, 'credits', 1.5), 137 142 (Score, 'score', 1.4), … … 153 158 tabledata_2=tabledata_2, 154 159 signatures=self._signatures(), 155 topMargin=topMargin 160 topMargin=topMargin, 161 omit_fields=self.omit_fields 156 162 )
Note: See TracChangeset for help on using the changeset viewer.