"list staffers pdf"

This commit is contained in:
Doug Le Tough 2018-05-09 10:58:38 +02:00
parent 87dda273cd
commit 99cb54de64

View File

@ -1129,7 +1129,7 @@ def print_users():
for staffer in staffers:
rows = []
row = (Paragraph(staffer[1], styles['row2']), Paragraph(staffer[2], styles['row2']), Paragraph(staffer[3], styles['row2']))
row = (Paragraph(staffer.name, styles['row2']), Paragraph(staffer.phone, styles['row2']), Paragraph(staffer.diet, styles['row2']))
table = Table(rows, colWidths=cols_width, rowHeights=23)
rows.append(row)
table = Table(rows, colWidths=cols_width, rowHeights=23)