Feature: Packlisten-Templates hinzugefügt
Some checks failed
Docker Build & Push / build-and-push (push) Failing after 15s

- DB-Schema erweitert (is_template Spalte in packing_lists)
- packing_lists.php: Tabs für Listen/Vorlagen und Filterung
- save_as_template.php: Funktion zum Speichern einer Liste als Vorlage
- add_packing_list.php: Neue Liste aus Vorlage erstellen
- packing_list_utils.php: Zentrale Kopier-Logik (inkl. Träger & Hierarchien)
- edit_packing_list_details.php: Navigation angepasst
This commit is contained in:
Gemini Agent
2025-12-08 21:11:45 +00:00
parent a4b74ab480
commit b9446b01a3
7 changed files with 392 additions and 159 deletions

View File

@@ -402,6 +402,7 @@ CREATE TABLE `packing_lists` (
`name` varchar(255) NOT NULL,
`description` text DEFAULT NULL,
`share_token` varchar(255) DEFAULT NULL,
`is_template` tinyint(1) NOT NULL DEFAULT 0,
`created_at` timestamp NOT NULL DEFAULT current_timestamp(),
PRIMARY KEY (`id`),
UNIQUE KEY `share_token` (`share_token`),