Shami96 commited on
Commit
3187cdc
·
verified ·
1 Parent(s): ee6bb11

Update invoice.py

Browse files
Files changed (1) hide show
  1. 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 = 120 # larger
305
- img.width = 900 # 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
 
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