From 52810b2b91a3b8bc2dc65b5c87345a151b75900f Mon Sep 17 00:00:00 2001 From: Eduard Wisch Date: Sat, 18 Jul 2026 14:55:31 +0200 Subject: [PATCH] Doku: Modul-Version 1.3.1 + ChangeLog (customers.php-Uebersetzung, PWA-Layout) [deploy] - modBericht.class.php: version 1.1.0 -> 1.3.1 (war seit 1.1.0 nie nachgezogen) - ChangeLog 1.3.1: Zahlart/Zahlungsbedingung-Uebersetzung + PWA-Formular-Layout-Fix --- ChangeLog.md | 7 +++++++ core/modules/modBericht.class.php | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/ChangeLog.md b/ChangeLog.md index 259530a..4e9226b 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -1,5 +1,12 @@ # Changelog +## 1.3.1 — 2026-07-18 + +### Fixes rund um die PWA-Auftragsanlage + +- **`api/customers.php`**: Zahlart und Zahlungsbedingung im Kunden-Detail werden jetzt **übersetzt** — über die Dolibarr-Sprachkeys `PaymentTypeShort` / `PaymentConditionShort` (Sprachdatei `bills`) statt der rohen englischen `libelle`-Werte aus `c_paiement`/`c_payment_term`. Behebt die Anzeige „💳 Payment Condition · 🏦 Credit transfer" in der „Übernommen"-Zeile. Fallback auf `libelle`, wenn kein Sprachkey existiert (z. B. Custom-Einträge ohne `code`). +- **Baustelle-PWA** (Repo `baustelle-pwa`): „Neuer Auftrag"-Formular saß vertikal zu weit unten (der gemeinsame `.fs-body` erbte `justify-content:center`, was bei `flex-direction:column` vertikal zentriert) und wurde von der Bildschirmtastatur verdeckt → `justify-content:flex-start` im Modal + `scrollIntoView({block:'center'})` beim Feld-Fokus. + ## 1.3.0 — 2026-07-18 ### PWA Auftrag-Anlegen überarbeitet (Formular + Freigabe) diff --git a/core/modules/modBericht.class.php b/core/modules/modBericht.class.php index a1f6691..6e86766 100644 --- a/core/modules/modBericht.class.php +++ b/core/modules/modBericht.class.php @@ -27,7 +27,7 @@ class modBericht extends DolibarrModules $this->editor_name = 'Alles Watt läuft'; $this->editor_url = ''; - $this->version = '1.1.0'; + $this->version = '1.3.1'; $this->const_name = 'MAIN_MODULE_'.strtoupper($this->name); $this->picto = 'fa-file-pdf';