Changeset 9547 for main/waeup.kofa/trunk/src/waeup/kofa/students
- Timestamp:
- 6 Nov 2012, 00:05:27 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/students/utils.py
r9532 r9547 506 506 def renderPDF(self, view, filename='slip.pdf', student=None, 507 507 studentview=None, tableheader=None, tabledata=None, 508 note=None, signatures=None ):508 note=None, signatures=None, sig_in_footer=False): 509 509 """Render pdf slips for various pages. 510 510 """ … … 557 557 558 558 # Insert signatures 559 if signatures :559 if signatures and not sig_in_footer: 560 560 data.append(Spacer(1, 20)) 561 561 signaturetable = get_signature_table(signatures) … … 567 567 pdf_stream = creator.create_pdf( 568 568 data, None, doc_title, author=author, footer=footer_text, 569 note=note )569 note=note, sig_in_footer=sig_in_footer) 570 570 except IOError: 571 571 view.flash('Error in image file.')
Note: See TracChangeset for help on using the changeset viewer.