report problem 4

This commit is contained in:
rizwanisready
2024-06-05 19:48:48 +05:30
parent 2126660d9b
commit 59a9a5eb98

View File

@@ -159,6 +159,7 @@ def generate_event_report_pdf_three(user, report_data):
# Insert company logo
logo_path = settings.LOGO_PATH
print("logo_path: ", logo_path)
logo_path = os.path.join(str(logo_path), "icon.png") # Path to the logo
logo = Image(logo_path)
logo.drawWidth = 200 # Adjust the width as needed