diff --git a/erp/ocr.py b/erp/ocr.py index 71540f1..5fdb682 100644 --- a/erp/ocr.py +++ b/erp/ocr.py @@ -914,7 +914,7 @@ def invoices_bulk_cancel(body: dict = Body(...), authorization: Optional[str] = # ── R5.4 XLSX EXPORT ─────────────────────────────────────────────────── -@router.get("/invoices/export.xlsx") +@router.get("/export/invoices.xlsx") def invoices_export_xlsx( tenant_id: Optional[int] = Query(None), klub_id: Optional[int] = Query(None), diff --git a/static/erp.html b/static/erp.html index 8a545a3..74b5adb 100644 --- a/static/erp.html +++ b/static/erp.html @@ -84,7 +84,8 @@ tr.clickable:hover { background:var(--bg-3); box-shadow:inset 3px 0 0 var(--acce
-
+ +
+
+

📊 ERP statistika — mjesec / kvartal / godina

+
+
+ + 📥 Export XLSX +
+
+
+

Top klubovi (godina)

+
KlubBr. računaTotal
+
+
+

Putni nalozi

+
+
+
+
+ +

📷 Drag-and-drop OCR (PDF / JPG / PNG)

@@ -155,7 +177,14 @@ tr.clickable:hover { background:var(--bg-3); box-shadow:inset 3px 0 0 var(--acce

Računi (svi klubovi)

-
#VrstaBrojDobavljačOIBKlubBruttoStatusDatum
+
+ Označeno: 0 + + + + 📥 Export XLSX (svi) +
+
#VrstaBrojDobavljačOIBKlubBruttoStatusDatum
@@ -335,6 +364,30 @@ tr.clickable:hover { background:var(--bg-3); box-shadow:inset 3px 0 0 var(--acce
+ + +