PWA Mobile App für Schaltschrank-Dokumentation vor Ort: - Token-basierte Authentifizierung (15 Tage gültig) - Kundensuche mit Offline-Cache - Anlagen-Auswahl und Offline-Laden - Felder/Hutschienen/Automaten erfassen - Automatische Synchronisierung wenn wieder online - Installierbar auf dem Smartphone Home Screen - Touch-optimiertes Dark Mode Design - Quick-Select für Automaten-Werte (B16, C32, etc.) Schaltplan-Editor Verbesserungen: - Block Hover-Tooltip mit show_in_hover Feldern - Produktinfo mit Icon im Tooltip - Position und Breite in TE Neue Dateien: - pwa.php, pwa_auth.php - PWA Einstieg & Auth - ajax/pwa_api.php - PWA AJAX API - js/pwa.js, css/pwa.css - PWA App & Styles - sw.js, manifest.json - Service Worker & Manifest - img/pwa-icon-192.png, img/pwa-icon-512.png Version: 5.2.0 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
26 lines
1.1 KiB
SQL
Executable file
26 lines
1.1 KiB
SQL
Executable file
-- ============================================================================
|
|
-- Copyright (C) 2026 Alles Watt lauft
|
|
--
|
|
-- Table for equipment carriers (Hutschienen/Traeger)
|
|
-- A carrier belongs to a technical place (Anlage) and has a capacity in TE
|
|
-- ============================================================================
|
|
|
|
CREATE TABLE llx_kundenkarte_equipment_carrier
|
|
(
|
|
rowid integer AUTO_INCREMENT PRIMARY KEY,
|
|
entity integer DEFAULT 1 NOT NULL,
|
|
|
|
fk_anlage integer NOT NULL COMMENT 'Technischer Platz (z.B. Unterverteiler, Zaehlerschrank)',
|
|
label varchar(255) NOT NULL COMMENT 'Bezeichnung (z.B. Hutschiene 1, Obere Reihe)',
|
|
|
|
total_te integer DEFAULT 12 NOT NULL COMMENT 'Gesamtkapazitaet in Teilungseinheiten',
|
|
position integer DEFAULT 0 COMMENT 'Reihenfolge der Traeger',
|
|
|
|
note_private text,
|
|
status tinyint DEFAULT 1 NOT NULL,
|
|
|
|
date_creation datetime,
|
|
tms timestamp DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
|
|
fk_user_creat integer,
|
|
fk_user_modif integer
|
|
) ENGINE=innodb;
|