From fa513be7f53e4c4849f7c164a2a2ec7d4a7cb154 Mon Sep 17 00:00:00 2001 From: rene Date: Fri, 15 May 2026 10:07:10 +0200 Subject: [PATCH] =?UTF-8?q?Release=20v1.6.0=20=E2=80=94=20Rechnungs-System?= =?UTF-8?q?=20(SW=20by-v966)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Rechnungserstellung mit fortlaufender Nr. RG-YYYY-NNNN - PDF-Generierung (fpdf2) mit §14-UStG-Pflichtangaben - Kleinunternehmer-Modus (§19 UStG) via ENV - Mail-Versand mit PDF-Anhang (Brevo/SMTP) - Speicherung in /scaninput + Paperless-ngx REST-API - Admin-Panel: Invoice-Tab, Pay/Cancel-Modals, Cashflow - Quartalsbericht als CSV-Download + Mail-Versand - Action-Items: offene Rechnungen im To-Do-Band - Stornonummern ST-YYYY-NNNN - docker-compose: /volume1/scaninput:/scaninput --- backend/main.py | 2 +- backend/static/js/app.js | 4 ++-- backend/static/sw.js | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/backend/main.py b/backend/main.py index 338c427..3d79bb8 100644 --- a/backend/main.py +++ b/backend/main.py @@ -408,7 +408,7 @@ async def serve_media(path: str, request: _Request): raise _HE(404, "Nicht gefunden.") return _media_response(filepath) -APP_VER = "965" # muss mit APP_VER in app.js übereinstimmen +APP_VER = "966" # muss mit APP_VER in app.js übereinstimmen @app.get("/.well-known/assetlinks.json") async def assetlinks(): diff --git a/backend/static/js/app.js b/backend/static/js/app.js index 3555d46..30f3537 100644 --- a/backend/static/js/app.js +++ b/backend/static/js/app.js @@ -3,8 +3,8 @@ Router, State-Management, Navigation, Initialisierung. ============================================================ */ -const APP_VER = '965'; // ← bei jedem Deploy mit Frontend-Änderungen erhöhen -const APP_VERSION = '1.5.1'; // ← semantische Version, wird bei make release gesetzt +const APP_VER = '966'; // ← bei jedem Deploy mit Frontend-Änderungen erhöhen +const APP_VERSION = '1.6.0'; // ← semantische Version, wird bei make release gesetzt const IS_STAGING = location.hostname === 'staging.banyaro.app'; // Cache-Bust-Parameter nach Update-Reload sofort entfernen if (location.search.includes('_t=')) history.replaceState(null, '', '/'); diff --git a/backend/static/sw.js b/backend/static/sw.js index 97540a7..2293f58 100644 --- a/backend/static/sw.js +++ b/backend/static/sw.js @@ -3,7 +3,7 @@ Offline-Cache + Push Notifications + Tile-Cache ============================================================ */ -const CACHE_VERSION = 'by-v965'; +const CACHE_VERSION = 'by-v966'; const CACHE_STATIC = `${CACHE_VERSION}-static`; const CACHE_TILES = 'ban-yaro-tiles-v1'; // bleibt über SW-Updates erhalten const CACHE_API = 'ban-yaro-api-v1'; // API-Response-Cache