Changeset 14292 for main/waeup.kofa/trunk/src/waeup
- Timestamp:
- 25 Nov 2016, 09:51:58 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/students/utils.py
r14256 r14292 111 111 112 112 def render_student_data(studentview, context, omit_fields=(), 113 lang='en', slipname=None ):113 lang='en', slipname=None, no_passport=False): 114 114 """Render student table for an existing frame. 115 115 """ … … 209 209 f_text = Paragraph(f_text, ENTRY1_STYLE) 210 210 data_middle.append([f_label,f_text]) 211 212 if no_passport: 213 table = Table(data_middle,style=SLIP_STYLE, colWidths=[5*cm, 5*cm]) 214 table.hAlign = 'LEFT' 215 return table 211 216 212 217 # append QR code to the right … … 843 848 show_scans=True, topMargin=1.5, 844 849 omit_fields=(), 845 tableheader=None): 850 tableheader=None, 851 no_passport=False): 846 852 """Render pdf slips for transcripts. 847 853 """ … … 871 877 studentview, view.context, 872 878 omit_fields, lang=portal_language, 873 slipname=filename)) 879 slipname=filename, 880 no_passport=no_passport)) 874 881 875 882 transcript_data = view.context.getTranscriptData()
Note: See TracChangeset for help on using the changeset viewer.