Update utils.py
Browse files
utils.py
CHANGED
|
@@ -88,7 +88,7 @@ def generate_pdf(df_combined, company_name, address, unit):
|
|
| 88 |
|
| 89 |
# Position the table just below the title
|
| 90 |
table.wrapOn(c, width, height)
|
| 91 |
-
table.drawOn(c, 30, y_position-len(df_combined)*row_height)
|
| 92 |
|
| 93 |
# Save the PDF
|
| 94 |
c.save()
|
|
|
|
| 88 |
|
| 89 |
# Position the table just below the title
|
| 90 |
table.wrapOn(c, width, height)
|
| 91 |
+
table.drawOn(c, 30, y_position-(len(df_combined)+1)*row_height)
|
| 92 |
|
| 93 |
# Save the PDF
|
| 94 |
c.save()
|