report problem 4
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user