Browse code

"list staffers pdf"

Doug Le Tough authored on 09/05/2018 08:58:38
Showing 1 changed files
... ...
@@ -1129,7 +1129,7 @@ def print_users():
1129 1129
 
1130 1130
       for staffer in staffers:
1131 1131
         rows = []
1132
-        row = (Paragraph(staffer[1], styles['row2']), Paragraph(staffer[2], styles['row2']), Paragraph(staffer[3], styles['row2']))
1132
+        row = (Paragraph(staffer.name, styles['row2']), Paragraph(staffer.phone, styles['row2']), Paragraph(staffer.diet, styles['row2']))
1133 1133
         table = Table(rows, colWidths=cols_width, rowHeights=23)
1134 1134
         rows.append(row)
1135 1135
         table = Table(rows, colWidths=cols_width, rowHeights=23)