Spaces:
Running
Running
EL GHAFRAOUI AYOUB
commited on
Commit
·
8721c9a
1
Parent(s):
47ff9a5
app/services/__pycache__/invoice_service.cpython-312.pyc
CHANGED
Binary files a/app/services/__pycache__/invoice_service.cpython-312.pyc and b/app/services/__pycache__/invoice_service.cpython-312.pyc differ
|
|
app/services/invoice_service.py
CHANGED
@@ -48,7 +48,7 @@ class InvoiceService:
|
|
48 |
logo_path = os.path.join(current_dir, "..", "static", "logo.png")
|
49 |
|
50 |
# Top section layout
|
51 |
-
top_margin = page_height -
|
52 |
|
53 |
# Left side: Logo - moved far left and up
|
54 |
if os.path.exists(logo_path):
|
@@ -89,7 +89,7 @@ class InvoiceService:
|
|
89 |
pdf.drawString(x, y, str(text))
|
90 |
|
91 |
# Info boxes (Date, N° Devis, PLANCHER) - adjusted starting position
|
92 |
-
info_y = top_margin -
|
93 |
box_label_width = 120
|
94 |
box_value_width = 80
|
95 |
|
|
|
48 |
logo_path = os.path.join(current_dir, "..", "static", "logo.png")
|
49 |
|
50 |
# Top section layout
|
51 |
+
top_margin = page_height - 120
|
52 |
|
53 |
# Left side: Logo - moved far left and up
|
54 |
if os.path.exists(logo_path):
|
|
|
89 |
pdf.drawString(x, y, str(text))
|
90 |
|
91 |
# Info boxes (Date, N° Devis, PLANCHER) - adjusted starting position
|
92 |
+
info_y = top_margin - 50
|
93 |
box_label_width = 120
|
94 |
box_value_width = 80
|
95 |
|
sql_app.db
CHANGED
Binary files a/sql_app.db and b/sql_app.db differ
|
|