Changeset 14438 for main/waeup.kofa/trunk/src/waeup
- Timestamp:
- 23 Jan 2017, 09:20:52 (8 years ago)
- Location:
- main/waeup.kofa/trunk/src/waeup/kofa/students/reports
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/students/reports/browser_templates/levelreportgeneratorpage.pt
r14432 r14438 1 1 <form i18n:domain="waeup.kofa" method="POST"> 2 2 <p i18n:translate=""> 3 Please pick the department, session and level3 Please pick the certificate, session and level 4 4 for which the report should be generated. 5 5 The report will be processed and then made available for you -
main/waeup.kofa/trunk/src/waeup/kofa/students/reports/level_report.py
r14427 r14438 177 177 certcode = None 178 178 179 pdfcreator = 'landscape' 180 179 181 note = None 180 182 … … 210 212 211 213 def create_pdf(self, job_id): 212 creator = getUtility(IPDFCreator, name= 'landscape')214 creator = getUtility(IPDFCreator, name=self.pdfcreator) 213 215 table_data = tbl_data_to_table(self.data) 214 216 #col_widths = [3.5*cm] * len(self.data[0]) -
main/waeup.kofa/trunk/src/waeup/kofa/students/reports/session_results_presentation.py
r14426 r14438 121 121 depcode = None 122 122 certcode = None 123 pdfcreator = '' 123 124 124 125 note = None … … 158 159 159 160 def create_pdf(self, job_id): 160 creator = getUtility(IPDFCreator )161 creator = getUtility(IPDFCreator, name=self.pdfcreator) 161 162 #col_widths = [2*cm, 4*cm, 5*cm, 0.8*cm, 0.8*cm, 0.8*cm, 6*cm, ] 162 163 pdf_data = [Paragraph('<b>%s - Report %s</b>' -
main/waeup.kofa/trunk/src/waeup/kofa/students/reports/student_payment_statistics.py
r14373 r14438 181 181 session = None 182 182 mode = None 183 pdfcreator = 'landscape' 183 184 184 185 def __init__(self, session, mode, level, breakdown, author='System'): … … 201 202 202 203 def create_pdf(self, job_id): 203 creator = getUtility(IPDFCreator, name= 'landscape')204 creator = getUtility(IPDFCreator, name=self.pdfcreator) 204 205 table_data = tbl_data_to_table(*self.data) 205 206 col_widths = [None,] + [3.2*cm] * len(self.data[1]) + [None,] -
main/waeup.kofa/trunk/src/waeup/kofa/students/reports/student_statistics.py
r14373 r14438 142 142 session = None 143 143 mode = None 144 pdfcreator = 'landscape' 144 145 145 146 def __init__(self, session, mode, level, breakdown, author='System'): … … 162 163 163 164 def create_pdf(self, job_id): 164 creator = getUtility(IPDFCreator, name= 'landscape')165 creator = getUtility(IPDFCreator, name=self.pdfcreator) 165 166 table_data = tbl_data_to_table(*self.data) 166 167 col_widths = [None,] + [1.6*cm] * len(self.data[1]) + [None,]
Note: See TracChangeset for help on using the changeset viewer.