don770omr commited on
Commit
f04d03a
·
verified ·
1 Parent(s): c29c961

Update utils.py

Browse files
Files changed (1) hide show
  1. utils.py +1 -1
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()