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 @@
| = $h($inv['status']) ?> |
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']) {
-
+
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 @@
= View::formatDate($s['created_at']) ?> |
|
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 @@
- Bearbeiten
+
+
+
= $h($s['submitted_at'] ?? '–') ?> |
|
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;
|
= $h(View::formatDate(substr($u['created_at'], 0, 10))) ?> | - |