diff --git a/Changes.md b/Changes.md index 76006f8..5d35524 100644 --- a/Changes.md +++ b/Changes.md @@ -2,6 +2,16 @@ --- +## 2026-05-22 – UI: Einheitliche Icon-Buttons für Bearbeiten/Ansehen/Löschen + +- **Bleistift-Icon** (transparent, ohne Hintergrund – Stil der Direktverbindungs-Kacheln) ersetzt alle „Bearbeiten"- und „Öffnen"-Buttons in `accounts/list`, `customers/show`, `customers/list`, `suppliers/list`, `useradmin/list`, `assets/list`, `belege/list`, `invoices/list`, `invoices/show` +- **Auge-Icon** (Kästchen mit Auge) ersetzt die PDF-Buttons in `invoices/list` (PDF), `invoices/show` (PDF herunterladen) sowie den „Ansehen"-Button in `tax/ustva_index`, um „nur ansehen" visuell vom „bearbeiten" abzugrenzen +- **Papierkorb-Icon** (transparent, Danger-Farbe) ersetzt alle „Löschen"-Buttons in `accounts/list`, `invoices/list`, `useradmin/list`, `suppliers/list`, `assets/list`, `belege/detail`, `settings/bankimport`, `bank/fints` und `settings/form` +- **Plus-Icon** (rund, btn-primary, 1,8rem) ersetzt alle „Neu anlegen/erstellen/hochladen"-Buttons – Topbars (`bank/fints`, Kunden, Lieferanten, Rechnungen, Belege, Wirtschaftsgüter, Konten), Dashboard-Schnellzugriff, Card-Header in `customers/show`, Aktionsspalte in `customers/list` und „Position hinzufügen" im Rechnungsformular +- `bank/index.php`: Button „Öffnen" → „Aktivieren" (Status-Toggle, semantisch eindeutiger) + +--- + ## 2026-05-21 – Feature: FinTS-Direktverbindung + Vereinheitlichung der Bank-Importquellen - **FinTS-Abruf** für Comdirect, DKB und weitere Banken über `nemiah/php-fints` (PHP-Lib für HBCI/FinTS 3.0). Leseabruf mit PIN; TAN-pflichtige Aktionen werden mit klarer Fehlermeldung abgebrochen diff --git a/src/Controllers/AccountController.php b/src/Controllers/AccountController.php index cf93e3f..b691986 100644 --- a/src/Controllers/AccountController.php +++ b/src/Controllers/AccountController.php @@ -125,7 +125,11 @@ class AccountController extends BaseController 'accounts' => $accounts, 'filter' => $filter, ]), - 'topbarActions' => '+ Konto anlegen', + 'topbarActions' => '' + . '' + . '' + . '' + . '', ]); } diff --git a/src/Controllers/AssetController.php b/src/Controllers/AssetController.php index e5faab1..e2d40e8 100644 --- a/src/Controllers/AssetController.php +++ b/src/Controllers/AssetController.php @@ -20,7 +20,11 @@ class AssetController extends BaseController 'content' => $this->renderView('assets/list', [ 'assets' => $assets, ]), - 'topbarActions' => '+ Wirtschaftsgut anlegen', + 'topbarActions' => '' + . '' + . '' + . '' + . '', ]); } diff --git a/src/Controllers/BankController.php b/src/Controllers/BankController.php index 8fbc195..e35d2c3 100644 --- a/src/Controllers/BankController.php +++ b/src/Controllers/BankController.php @@ -378,7 +378,11 @@ class BankController extends BaseController $view = new View(); $view->render('layout/base.php', [ 'pageTitle' => 'Direktverbindungen', - 'topbarActions' => '', + 'topbarActions' => '', 'content' => $this->renderView('bank/fints', [ 'connections' => $connections, 'providers' => $providers, diff --git a/src/Controllers/BelegController.php b/src/Controllers/BelegController.php index 6e4b7c7..09157dd 100644 --- a/src/Controllers/BelegController.php +++ b/src/Controllers/BelegController.php @@ -45,7 +45,12 @@ class BelegController extends BaseController 'page' => $page, 'filter' => $filter, ]), - 'topbarActions' => 'CSV Export + Beleg hochladen', + 'topbarActions' => 'CSV Export ' + . '' + . '' + . '' + . '' + . '', ]); } diff --git a/src/Controllers/CustomerController.php b/src/Controllers/CustomerController.php index 183fa86..1399ec1 100644 --- a/src/Controllers/CustomerController.php +++ b/src/Controllers/CustomerController.php @@ -21,7 +21,11 @@ class CustomerController extends BaseController 'customers' => $customers, 'filter' => $filter, ]), - 'topbarActions' => '+ Kunde anlegen', + 'topbarActions' => '' + . '' + . '' + . '' + . '', ]); } diff --git a/src/Controllers/InvoiceController.php b/src/Controllers/InvoiceController.php index 3c8408a..4c72fb7 100644 --- a/src/Controllers/InvoiceController.php +++ b/src/Controllers/InvoiceController.php @@ -34,7 +34,11 @@ class InvoiceController extends BaseController 'filter' => $filter, 'settings' => $settings, ]), - 'topbarActions' => '+ Rechnung erstellen', + 'topbarActions' => '' + . '' + . '' + . '' + . '', ]); } diff --git a/src/Controllers/SupplierController.php b/src/Controllers/SupplierController.php index 5fb0cda..28e2a45 100644 --- a/src/Controllers/SupplierController.php +++ b/src/Controllers/SupplierController.php @@ -19,7 +19,11 @@ class SupplierController extends BaseController 'content' => $this->renderView('suppliers/list', [ 'suppliers' => $suppliers, ]), - 'topbarActions' => '+ Lieferant anlegen', + 'topbarActions' => '' + . '' + . '' + . '' + . '', ]); } diff --git a/src/Views/accounts/list.php b/src/Views/accounts/list.php index 1e15359..fe7e15d 100644 --- a/src/Views/accounts/list.php +++ b/src/Views/accounts/list.php @@ -62,10 +62,28 @@
Journal - Bearbeiten + + + + + +
- +
diff --git a/src/Views/assets/list.php b/src/Views/assets/list.php index 743e3bf..6c0cb3b 100644 --- a/src/Views/assets/list.php +++ b/src/Views/assets/list.php @@ -36,16 +36,26 @@
- - + + + +
-
diff --git a/src/Views/bank/fints.php b/src/Views/bank/fints.php index 6dc8e7e..165d5d6 100644 --- a/src/Views/bank/fints.php +++ b/src/Views/bank/fints.php @@ -26,7 +26,7 @@ $connectionsJson = json_encode(array_map(fn($c) => [
- Noch keine Direktverbindungen konfiguriert. Klicke auf NEU, um eine hinzuzufügen. + Noch keine Direktverbindungen konfiguriert. Klicke oben rechts auf +, um eine hinzuzufügen.
@@ -283,7 +283,17 @@ $connectionsJson = json_encode(array_map(fn($c) => [
- +
diff --git a/src/Views/bank/index.php b/src/Views/bank/index.php index 9400de1..be0dd08 100644 --- a/src/Views/bank/index.php +++ b/src/Views/bank/index.php @@ -182,7 +182,7 @@ $months = ['Jan','Feb','Mär','Apr','Mai','Jun','Jul','Aug','Sep','Okt','Nov','D
- +
diff --git a/src/Views/belege/detail.php b/src/Views/belege/detail.php index 74fad95..0d41759 100644 --- a/src/Views/belege/detail.php +++ b/src/Views/belege/detail.php @@ -117,7 +117,17 @@ $suppliers = $suppliers ?? [];
- +
diff --git a/src/Views/belege/list.php b/src/Views/belege/list.php index 4c02a5c..3487c6d 100644 --- a/src/Views/belege/list.php +++ b/src/Views/belege/list.php @@ -166,7 +166,15 @@ - Öffnen + + + + + + diff --git a/src/Views/customers/list.php b/src/Views/customers/list.php index 74c627c..32fc8fe 100644 --- a/src/Views/customers/list.php +++ b/src/Views/customers/list.php @@ -45,8 +45,20 @@ Tage
- Bearbeiten - Rechnung + + + + + + + + + + +
diff --git a/src/Views/customers/show.php b/src/Views/customers/show.php index 36f4a47..be472e1 100644 --- a/src/Views/customers/show.php +++ b/src/Views/customers/show.php @@ -4,7 +4,15 @@
Kundendaten
- Bearbeiten + + + + + +
@@ -24,7 +32,11 @@
Rechnungen
- + Neue Rechnung + + + + +
diff --git a/src/Views/dashboard.php b/src/Views/dashboard.php index 4022aa5..f883cad 100644 --- a/src/Views/dashboard.php +++ b/src/Views/dashboard.php @@ -79,8 +79,16 @@ $fmt = fn($v) => View::formatMoney($v);
- + Beleg hochladen - + Rechnung erstellen + + + + + + + + + + UStVA erstellen EÜR
diff --git a/src/Views/invoices/form.php b/src/Views/invoices/form.php index 9ea4311..4090c13 100644 --- a/src/Views/invoices/form.php +++ b/src/Views/invoices/form.php @@ -60,7 +60,11 @@ $preCustomer = (int)($_GET['customer_id'] ?? 0);
Rechnungspositionen - +
diff --git a/src/Views/invoices/list.php b/src/Views/invoices/list.php index f84e6a1..cf2ecae 100644 --- a/src/Views/invoices/list.php +++ b/src/Views/invoices/list.php @@ -60,9 +60,26 @@
diff --git a/src/Views/tax/ustva_index.php b/src/Views/tax/ustva_index.php index 5e21a65..a053858 100644 --- a/src/Views/tax/ustva_index.php +++ b/src/Views/tax/ustva_index.php @@ -65,7 +65,16 @@ diff --git a/src/Views/useradmin/list.php b/src/Views/useradmin/list.php index 019e95a..cac5a7f 100644 --- a/src/Views/useradmin/list.php +++ b/src/Views/useradmin/list.php @@ -68,9 +68,15 @@ $editId = $formData['edit_id'] ?? null;
- Öffnen + + + + + + - PDF + + + + + + +
- +
diff --git a/src/Views/invoices/show.php b/src/Views/invoices/show.php index a2340c2..0267ebf 100644 --- a/src/Views/invoices/show.php +++ b/src/Views/invoices/show.php @@ -37,14 +37,31 @@ $badgeClass = match($invoice['status']) {
- Bearbeiten + + + + + +
- PDF herunterladen + + + + + + +
- +
diff --git a/src/Views/settings/form.php b/src/Views/settings/form.php index be65089..e457f00 100644 --- a/src/Views/settings/form.php +++ b/src/Views/settings/form.php @@ -328,7 +328,17 @@
- +
diff --git a/src/Views/suppliers/list.php b/src/Views/suppliers/list.php index eeeea61..d55ddc0 100644 --- a/src/Views/suppliers/list.php +++ b/src/Views/suppliers/list.php @@ -27,10 +27,28 @@
- Bearbeiten + + + + + +
- +
-
+