Spaces:
Runtime error
Runtime error
Commit ·
18103ba
1
Parent(s): c79b29f
Removed FP chart Count
Browse files
app/DocumentGeneration/pdf_generator.py
CHANGED
|
@@ -163,8 +163,6 @@ def create_pdf_document(request: ExportRequest):
|
|
| 163 |
pdf.cell(0, 8, f"Format: {request.format.upper()}", ln=True)
|
| 164 |
pdf.set_xy(35, 161)
|
| 165 |
pdf.cell(0, 8, f"Sections: {len(request.sections)}", ln=True)
|
| 166 |
-
pdf.set_xy(35, 169)
|
| 167 |
-
pdf.cell(0, 8, f"Charts: {len(request.chartImages) if request.chartImages else 0}", ln=True)
|
| 168 |
|
| 169 |
# Footer - simple footer since confidentiality is now in page footer
|
| 170 |
pdf.set_font(body_font, "", 10)
|
|
|
|
| 163 |
pdf.cell(0, 8, f"Format: {request.format.upper()}", ln=True)
|
| 164 |
pdf.set_xy(35, 161)
|
| 165 |
pdf.cell(0, 8, f"Sections: {len(request.sections)}", ln=True)
|
|
|
|
|
|
|
| 166 |
|
| 167 |
# Footer - simple footer since confidentiality is now in page footer
|
| 168 |
pdf.set_font(body_font, "", 10)
|