Changeset 14488 for main/waeup.kofa/trunk/src
- Timestamp:
- 1 Feb 2017, 09:33:05 (8 years ago)
- Location:
- main/waeup.kofa/trunk/src/waeup/kofa/students/reports
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/students/reports/level_report.py
r14481 r14488 184 184 185 185 note = None 186 signatures = None 186 187 187 188 def __init__(self, faccode, depcode, certcode, session, level, … … 246 247 247 248 pdf_data.append(Spacer(1, 40)) 248 signatures = [ 249 translate(_('Head of Department')), 250 translate(_('Dean of Faculty'))] 251 signaturetables = get_signature_tables(signatures, landscape=True) 252 pdf_data.append(signaturetables[0]) 249 if self.signatures: 250 signaturetables = get_signature_tables(self.signatures, landscape=True) 251 pdf_data.append(signaturetables[0]) 253 252 254 253 pdf = creator.create_pdf( -
main/waeup.kofa/trunk/src/waeup/kofa/students/reports/session_results_presentation.py
r14484 r14488 126 126 certcode = None 127 127 pdfcreator = '' 128 signatures = None 128 129 129 130 note = None … … 228 229 doc_title = translate(_('Presentation of Session Results')) 229 230 pdf_data.append(Spacer(1, 40)) 230 signatures = ['Head of Department', 231 'External Examiner', 'Dean of Faculty'] 232 signaturetables = get_signature_tables(signatures) 233 pdf_data.append(signaturetables[0]) 231 if self.signatures: 232 signaturetables = get_signature_tables(self.signatures) 233 pdf_data.append(signaturetables[0]) 234 234 235 235 pdf = creator.create_pdf(
Note: See TracChangeset for help on using the changeset viewer.