"list staffers pdf"
This commit is contained in:
parent
d03c1be74a
commit
0c9187d6e2
@ -1128,16 +1128,15 @@ def print_users():
|
|||||||
spaceAfter=10
|
spaceAfter=10
|
||||||
))
|
))
|
||||||
|
|
||||||
|
rows = []
|
||||||
for staffer in staffers:
|
for staffer in staffers:
|
||||||
rows = []
|
|
||||||
row = (Paragraph(staffer.name, styles['row2']), Paragraph(staffer.phone, styles['row2']), Paragraph(staffer.diet, 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)
|
rows.append(row)
|
||||||
table = Table(rows, colWidths=cols_width, rowHeights=23)
|
|
||||||
table.setStyle(TableStyle( [('GRID', (0,0), (-1,-1), 0.25, colors.black),
|
|
||||||
('ALIGN', (1,1), (-1,-1), 'RIGHT')]))
|
|
||||||
elements.append(table)
|
|
||||||
|
|
||||||
|
table = Table(rows, colWidths=cols_width, rowHeights=23)
|
||||||
|
table.setStyle(TableStyle( [('GRID', (0,0), (-1,-1), 0.25, colors.black),
|
||||||
|
('ALIGN', (1,1), (-1,-1), 'RIGHT')]))
|
||||||
|
elements.append(table)
|
||||||
|
|
||||||
#~ wday = day[0]
|
#~ wday = day[0]
|
||||||
#~ day_turns = day[1]
|
#~ day_turns = day[1]
|
||||||
|
Loading…
Reference in New Issue
Block a user