Spaces:
Sleeping
Sleeping
Update invoice.py
Browse files- invoice.py +2 -2
invoice.py
CHANGED
|
@@ -301,8 +301,8 @@ def _place_logo(ws):
|
|
| 301 |
"""Embed the header logo across the invoice header band if logo.png exists."""
|
| 302 |
if os.path.exists(LOGO_PATH):
|
| 303 |
img = XLImage(LOGO_PATH)
|
| 304 |
-
img.height =
|
| 305 |
-
img.width =
|
| 306 |
ws.add_image(img, "A1") # assumes header row starts at row 1
|
| 307 |
|
| 308 |
def _nz(v): return "" if v is None else v
|
|
|
|
| 301 |
"""Embed the header logo across the invoice header band if logo.png exists."""
|
| 302 |
if os.path.exists(LOGO_PATH):
|
| 303 |
img = XLImage(LOGO_PATH)
|
| 304 |
+
img.height = 140 # larger
|
| 305 |
+
img.width = 1100 # span full header
|
| 306 |
ws.add_image(img, "A1") # assumes header row starts at row 1
|
| 307 |
|
| 308 |
def _nz(v): return "" if v is None else v
|