diff --git a/COPYING b/COPYING old mode 100644 new mode 100755 diff --git a/README.md b/README.md old mode 100644 new mode 100755 diff --git a/admin/about.php b/admin/about.php old mode 100644 new mode 100755 diff --git a/admin/anlage_systems.php b/admin/anlage_systems.php old mode 100644 new mode 100755 diff --git a/admin/backup.php b/admin/backup.php old mode 100644 new mode 100755 diff --git a/admin/busbar_types.php b/admin/busbar_types.php old mode 100644 new mode 100755 diff --git a/admin/medium_types.php b/admin/medium_types.php old mode 100644 new mode 100755 diff --git a/ajax/anlage.php b/ajax/anlage.php old mode 100644 new mode 100755 diff --git a/ajax/anlage_connection.php b/ajax/anlage_connection.php old mode 100644 new mode 100755 diff --git a/ajax/anlage_docs.php b/ajax/anlage_docs.php old mode 100644 new mode 100755 diff --git a/ajax/anlage_images.php b/ajax/anlage_images.php old mode 100644 new mode 100755 diff --git a/ajax/anlage_tooltip.php b/ajax/anlage_tooltip.php old mode 100644 new mode 100755 diff --git a/ajax/audit_log.php b/ajax/audit_log.php old mode 100644 new mode 100755 diff --git a/ajax/bom_generator.php b/ajax/bom_generator.php old mode 100644 new mode 100755 diff --git a/ajax/building_types.php b/ajax/building_types.php old mode 100644 new mode 100755 diff --git a/ajax/busbar_types.php b/ajax/busbar_types.php old mode 100644 new mode 100755 diff --git a/ajax/equipment.php b/ajax/equipment.php old mode 100644 new mode 100755 diff --git a/ajax/equipment_carrier.php b/ajax/equipment_carrier.php old mode 100644 new mode 100755 diff --git a/ajax/equipment_connection.php b/ajax/equipment_connection.php old mode 100644 new mode 100755 diff --git a/ajax/equipment_panel.php b/ajax/equipment_panel.php old mode 100644 new mode 100755 diff --git a/ajax/equipment_type_block_image.php b/ajax/equipment_type_block_image.php old mode 100644 new mode 100755 diff --git a/ajax/equipment_type_fields.php b/ajax/equipment_type_fields.php old mode 100644 new mode 100755 diff --git a/ajax/equipment_type_icon.php b/ajax/equipment_type_icon.php old mode 100644 new mode 100755 diff --git a/ajax/export_schematic_pdf.php b/ajax/export_schematic_pdf.php old mode 100644 new mode 100755 diff --git a/ajax/export_tree_pdf.php b/ajax/export_tree_pdf.php old mode 100644 new mode 100755 diff --git a/ajax/favorite_update.php b/ajax/favorite_update.php old mode 100644 new mode 100755 diff --git a/ajax/field_autocomplete.php b/ajax/field_autocomplete.php old mode 100644 new mode 100755 diff --git a/ajax/file_preview.php b/ajax/file_preview.php old mode 100644 new mode 100755 diff --git a/ajax/graph_data.php b/ajax/graph_data.php old mode 100644 new mode 100755 diff --git a/ajax/graph_save_positions.php b/ajax/graph_save_positions.php old mode 100644 new mode 100755 diff --git a/ajax/icon_upload.php b/ajax/icon_upload.php old mode 100644 new mode 100755 diff --git a/ajax/medium_types.php b/ajax/medium_types.php old mode 100644 new mode 100755 diff --git a/ajax/pwa_api.php b/ajax/pwa_api.php index 0215174..1617719 100755 --- a/ajax/pwa_api.php +++ b/ajax/pwa_api.php @@ -517,7 +517,7 @@ switch ($action) { $panel = new EquipmentPanel($db); $panel->fk_anlage = $anlageId; - $panel->label = $label ?: 'Feld'; + $panel->label = $label; // PHP-Klasse vergibt Auto-Name wenn leer $result = $panel->create($user); if ($result > 0) { @@ -556,7 +556,7 @@ switch ($action) { $carrier = new EquipmentCarrier($db); $carrier->fk_anlage = $panelObj->fk_anlage; $carrier->fk_panel = $panelId; - $carrier->label = $label ?: 'Hutschiene'; + $carrier->label = $label; // PHP-Klasse vergibt Auto-Name wenn leer $carrier->total_te = $totalTe; $result = $carrier->create($user); diff --git a/ajax/tree_config.php b/ajax/tree_config.php old mode 100644 new mode 100755 diff --git a/ajax/type_fields.php b/ajax/type_fields.php old mode 100644 new mode 100755 diff --git a/anlage_connection.php b/anlage_connection.php old mode 100644 new mode 100755 diff --git a/build/buildzip.php b/build/buildzip.php old mode 100644 new mode 100755 diff --git a/build/makepack-kundenkarte.conf b/build/makepack-kundenkarte.conf old mode 100644 new mode 100755 diff --git a/class/anlage.class.php b/class/anlage.class.php old mode 100644 new mode 100755 diff --git a/class/anlagebackup.class.php b/class/anlagebackup.class.php old mode 100644 new mode 100755 diff --git a/class/anlageconnection.class.php b/class/anlageconnection.class.php old mode 100644 new mode 100755 diff --git a/class/anlagefile.class.php b/class/anlagefile.class.php old mode 100644 new mode 100755 diff --git a/class/auditlog.class.php b/class/auditlog.class.php old mode 100644 new mode 100755 diff --git a/class/busbartype.class.php b/class/busbartype.class.php old mode 100644 new mode 100755 diff --git a/class/equipment.class.php b/class/equipment.class.php old mode 100644 new mode 100755 diff --git a/class/equipmentcarrier.class.php b/class/equipmentcarrier.class.php old mode 100644 new mode 100755 index b248aaa..b821381 --- a/class/equipmentcarrier.class.php +++ b/class/equipmentcarrier.class.php @@ -56,7 +56,7 @@ class EquipmentCarrier extends CommonObject $error = 0; $now = dol_now(); - if (empty($this->fk_anlage) || empty($this->label)) { + if (empty($this->fk_anlage)) { $this->error = 'ErrorMissingParameters'; return -1; } @@ -72,6 +72,15 @@ class EquipmentCarrier extends CommonObject } } + // Auto-naming wenn kein Label angegeben + if (empty($this->label)) { + $sqlCnt = "SELECT COUNT(*) as cnt FROM ".MAIN_DB_PREFIX.$this->table_element; + $sqlCnt .= " WHERE fk_panel = ".((int) $this->fk_panel); + $resCnt = $this->db->query($sqlCnt); + $cnt = ($resCnt && ($objCnt = $this->db->fetch_object($resCnt))) ? (int) $objCnt->cnt : 0; + $this->label = 'R'.($cnt + 1); + } + $this->db->begin(); $sql = "INSERT INTO ".MAIN_DB_PREFIX.$this->table_element." ("; @@ -166,6 +175,15 @@ class EquipmentCarrier extends CommonObject { $error = 0; + // Auto-naming wenn kein Label angegeben + if (empty($this->label)) { + $sqlCnt = "SELECT COUNT(*) as cnt FROM ".MAIN_DB_PREFIX.$this->table_element; + $sqlCnt .= " WHERE fk_panel = ".((int) $this->fk_panel); + $resCnt = $this->db->query($sqlCnt); + $cnt = ($resCnt && ($objCnt = $this->db->fetch_object($resCnt))) ? (int) $objCnt->cnt : 1; + $this->label = 'R'.$cnt; + } + $this->db->begin(); $sql = "UPDATE ".MAIN_DB_PREFIX.$this->table_element." SET"; diff --git a/class/equipmentconnection.class.php b/class/equipmentconnection.class.php old mode 100644 new mode 100755 diff --git a/class/equipmentpanel.class.php b/class/equipmentpanel.class.php old mode 100644 new mode 100755 index 1e368b7..25aa2f1 --- a/class/equipmentpanel.class.php +++ b/class/equipmentpanel.class.php @@ -163,6 +163,15 @@ class EquipmentPanel extends CommonObject { $error = 0; + // Auto-naming wenn kein Label angegeben + if (empty($this->label)) { + $sqlCnt = "SELECT COUNT(*) as cnt FROM ".MAIN_DB_PREFIX.$this->table_element; + $sqlCnt .= " WHERE fk_anlage = ".((int) $this->fk_anlage); + $resCnt = $this->db->query($sqlCnt); + $cnt = ($resCnt && ($objCnt = $this->db->fetch_object($resCnt))) ? (int) $objCnt->cnt : 1; + $this->label = 'Feld '.$cnt; + } + $this->db->begin(); $sql = "UPDATE ".MAIN_DB_PREFIX.$this->table_element." SET"; diff --git a/class/equipmenttype.class.php b/class/equipmenttype.class.php old mode 100644 new mode 100755 diff --git a/class/favoriteproduct.class.php b/class/favoriteproduct.class.php old mode 100644 new mode 100755 diff --git a/class/mediumtype.class.php b/class/mediumtype.class.php old mode 100644 new mode 100755 diff --git a/class/terminalbridge.class.php b/class/terminalbridge.class.php old mode 100644 new mode 100755 diff --git a/core/modules/modKundenKarte.class.php b/core/modules/modKundenKarte.class.php old mode 100644 new mode 100755 index cabe596..3198507 --- a/core/modules/modKundenKarte.class.php +++ b/core/modules/modKundenKarte.class.php @@ -76,7 +76,7 @@ class modKundenKarte extends DolibarrModules $this->editor_squarred_logo = ''; // Must be image filename into the module/img directory followed with @modulename. Example: 'myimage.png@kundenkarte' // Possible values for version are: 'development', 'experimental', 'dolibarr', 'dolibarr_deprecated', 'experimental_deprecated' or a version string like 'x.y.z' - $this->version = '11.0.8'; + $this->version = '11.1.2'; // Url to the file with your last numberversion of this module //$this->url_last_version = 'http://www.example.com/versionmodule.txt'; diff --git a/css/kundenkarte.css b/css/kundenkarte.css old mode 100644 new mode 100755 diff --git a/css/kundenkarte_cytoscape.css b/css/kundenkarte_cytoscape.css old mode 100644 new mode 100755 diff --git a/css/pwa.css b/css/pwa.css index 4b705af..294e866 100755 --- a/css/pwa.css +++ b/css/pwa.css @@ -981,7 +981,7 @@ body { .terminal-label-cell { display: flex; justify-content: center; - min-height: 20px; + min-height: 30px; } /* Obere Labels (Zeile 1): am unteren Rand ausrichten (zum Terminal hin) */ @@ -1006,7 +1006,7 @@ body { font-weight: 600; color: #fff; line-height: 1.1; - max-height: 80px; + max-height: 130px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; diff --git a/img/README.md b/img/README.md old mode 100644 new mode 100755 diff --git a/js/cose-base.js b/js/cose-base.js old mode 100644 new mode 100755 diff --git a/js/cytoscape-cose-bilkent.js b/js/cytoscape-cose-bilkent.js old mode 100644 new mode 100755 diff --git a/js/cytoscape-dagre.js b/js/cytoscape-dagre.js old mode 100644 new mode 100755 diff --git a/js/cytoscape.min.js b/js/cytoscape.min.js old mode 100644 new mode 100755 diff --git a/js/dagre.min.js b/js/dagre.min.js old mode 100644 new mode 100755 diff --git a/js/kundenkarte.js b/js/kundenkarte.js old mode 100644 new mode 100755 index e42a343..27c70d0 --- a/js/kundenkarte.js +++ b/js/kundenkarte.js @@ -5548,6 +5548,24 @@ setPhase(conn.fk_target, conn.target_terminal_id, phase, inputColor); }); + // --- Schritt 1b: Leitungen mit expliziter Farbe als Startpunkte --- + // Nur echte Verbindungen zwischen zwei Geräten (fk_source + fk_target), + // KEINE Abgänge (fk_target=NULL) — Abgang-Terminals bekommen keine Farbe + this.connections.forEach(function(conn) { + if (parseInt(conn.is_rail) === 1) return; + if (!conn.color) return; + if (!conn.fk_source || !conn.fk_target) return; // Nur Gerät→Gerät, keine Abgänge + var phase = (conn.connection_type || '').toUpperCase(); + if (!self.PHASE_COLORS[phase]) return; + var connColor = conn.color; + if (conn.source_terminal_id) { + setPhase(conn.fk_source, conn.source_terminal_id, phase, connColor); + } + if (conn.target_terminal_id) { + setPhase(conn.fk_target, conn.target_terminal_id, phase, connColor); + } + }); + // --- Iterativ propagieren bis keine Änderungen mehr --- var changed = true; var iterations = 0; @@ -5556,28 +5574,8 @@ while (changed && iterations++ < maxIterations) { changed = false; - // Block-Durchreichung (top ↔ bottom) - Farbe wird mitpropagiert - self.equipment.forEach(function(eq) { - var terminals = self.getTerminals(eq); - var topTerminals = terminals.filter(function(t) { return t.pos === 'top'; }); - var bottomTerminals = terminals.filter(function(t) { return t.pos === 'bottom'; }); - - var pairCount = Math.min(topTerminals.length, bottomTerminals.length); - for (var i = 0; i < pairCount; i++) { - var topPhase = (self._terminalPhaseMap[eq.id] || {})[topTerminals[i].id]; - var botPhase = (self._terminalPhaseMap[eq.id] || {})[bottomTerminals[i].id]; - - if (topPhase && !botPhase) { - var topColor = getColor(eq.id, topTerminals[i].id); - if (setPhase(eq.id, bottomTerminals[i].id, topPhase, topColor)) changed = true; - } else if (botPhase && !topPhase) { - var botColor = getColor(eq.id, bottomTerminals[i].id); - if (setPhase(eq.id, topTerminals[i].id, botPhase, botColor)) changed = true; - } - } - }); - // Leitungen propagieren (Phase + Farbe von einem Ende zum anderen) + // Keine Block-Durchreichung (top↔bottom): Farben nur durch explizite Verbindungen self.connections.forEach(function(conn) { if (parseInt(conn.is_rail) === 1) return; if (!conn.fk_source || !conn.fk_target) return; @@ -5595,6 +5593,46 @@ } }); + // Junction-Verbindungen (Terminal→Leitung): Farbe bidirektional übertragen + self.connections.forEach(function(conn) { + if (parseInt(conn.is_rail) === 1) return; + if (!conn.junction_connection_id) return; + if (!conn.fk_source || !conn.source_terminal_id) return; + + var jConn = self._connectionById[String(conn.junction_connection_id)]; + if (!jConn) return; + + var srcPhase = (self._terminalPhaseMap[conn.fk_source] || {})[conn.source_terminal_id]; + + // Farbe der Ziel-Leitung ermitteln (aus einem ihrer Endpoints) + var jPhase = null, jColor = null; + if (jConn.fk_source && jConn.source_terminal_id) { + jPhase = (self._terminalPhaseMap[jConn.fk_source] || {})[jConn.source_terminal_id]; + jColor = getColor(jConn.fk_source, jConn.source_terminal_id); + } + if (!jPhase && jConn.fk_target && jConn.target_terminal_id) { + jPhase = (self._terminalPhaseMap[jConn.fk_target] || {})[jConn.target_terminal_id]; + jColor = getColor(jConn.fk_target, jConn.target_terminal_id); + } + + // Ziel-Leitung hat Phase → Source-Terminal übernimmt sie + if (jPhase && !srcPhase) { + if (setPhase(conn.fk_source, conn.source_terminal_id, jPhase, jColor)) changed = true; + } + // Source-Terminal hat Phase → auf Endpoints der Ziel-Leitung übertragen + if (srcPhase && !jPhase) { + var srcColor = getColor(conn.fk_source, conn.source_terminal_id); + if (jConn.fk_source && jConn.source_terminal_id && + !(self._terminalPhaseMap[jConn.fk_source] || {})[jConn.source_terminal_id]) { + if (setPhase(jConn.fk_source, jConn.source_terminal_id, srcPhase, srcColor)) changed = true; + } + if (jConn.fk_target && jConn.target_terminal_id && + !(self._terminalPhaseMap[jConn.fk_target] || {})[jConn.target_terminal_id]) { + if (setPhase(jConn.fk_target, jConn.target_terminal_id, srcPhase, srcColor)) changed = true; + } + } + }); + // Busbar-Verteilung: Nur Phasen verteilen die tatsächlich eingespeist sind self.connections.forEach(function(busbar) { if (parseInt(busbar.is_rail) !== 1) return; @@ -9076,7 +9114,7 @@ html += '
'; html += '

Neue Hutschiene hinzufügen

'; html += '
'; - html += '
'; + html += '
'; html += '
'; html += '
'; html += '
'; diff --git a/js/kundenkarte_cytoscape.js b/js/kundenkarte_cytoscape.js old mode 100644 new mode 100755 diff --git a/js/layout-base.js b/js/layout-base.js old mode 100644 new mode 100755 diff --git a/js/pathfinding.min.js b/js/pathfinding.min.js old mode 100644 new mode 100755 diff --git a/js/pwa.js b/js/pwa.js index 5b119cf..f9fcd28 100755 --- a/js/pwa.js +++ b/js/pwa.js @@ -902,7 +902,7 @@ const colPos = posTe > 0 ? posTe + t : 0; const style = `grid-row:1;${colPos > 0 ? ' grid-column:' + colPos : ''}`; const termId = topTerms[t] ? topTerms[t].id : ('t' + (t + 1)); - const topOut = eqTopOutputs.find(o => o.source_terminal_id === termId) || null; + const topOut = eqTopOutputs.find(o => o.source_terminal_id === termId) || eqTopOutputs[t] || null; if (topOut && topOut.output_label && (!topOut.bundled_terminals || widthTe <= 1)) { const cableInfo = buildCableInfo(topOut); @@ -951,7 +951,7 @@ // Input/Output per Terminal-ID finden const inp = eqTopInputs.find(i => i.target_terminal_id === termId) || null; - const topOut = bundledTop || eqTopOutputs.find(o => o.source_terminal_id === termId) || null; + const topOut = bundledTop || eqTopOutputs.find(o => o.source_terminal_id === termId) || eqTopOutputs[t] || null; if (bundledTop && widthTe > 1) { if (t === 0) { @@ -1083,7 +1083,7 @@ const termId = botTerms[t] ? botTerms[t].id : ('t' + (widthTe + t + 1)); // Input/Output per Terminal-ID finden - const out = bundledBottom || eqBottomOutputs.find(o => o.source_terminal_id === termId) || null; + const out = bundledBottom || eqBottomOutputs.find(o => o.source_terminal_id === termId) || eqBottomOutputs[t] || null; const inp = eqBottomInputs.find(i => i.target_terminal_id === termId) || null; if (bundledBottom && widthTe > 1) { @@ -1169,7 +1169,7 @@ const colPos = posTe > 0 ? posTe + t : 0; const style = `grid-row:5;${colPos > 0 ? ' grid-column:' + colPos : ''}`; const termId = botTerms[t] ? botTerms[t].id : ('t' + (widthTe + t + 1)); - const out = eqBottomOutputs.find(o => o.source_terminal_id === termId) || null; + const out = eqBottomOutputs.find(o => o.source_terminal_id === termId) || eqBottomOutputs[t] || null; if (out && out.output_label && (!out.bundled_terminals || widthTe <= 1)) { const cableInfo = buildCableInfo(out); @@ -1498,7 +1498,13 @@ } const totalTe = parseInt(teBtn.data('te')); - const label = $('#carrier-label').val().trim() || 'Hutschiene'; + const panelId = App.editCarrierId + ? (App.carriers.find(c => c.id == App.editCarrierId)?.fk_panel || App.currentPanelId) + : App.currentPanelId; + const panelCarrierCount = App.carriers.filter(c => c.fk_panel == panelId).length; + const inputLabel = $('#carrier-label').val().trim(); + // CREATE: +1 weil neuer Carrier noch nicht in der Liste; UPDATE: inkl. sich selbst gezählt + const label = inputLabel || (App.editCarrierId ? 'R' + panelCarrierCount : 'R' + (panelCarrierCount + 1)); closeModal('add-carrier'); diff --git a/kundenkarteindex.php b/kundenkarteindex.php old mode 100644 new mode 100755 diff --git a/langs/de_DE/kundenkarte.lang b/langs/de_DE/kundenkarte.lang old mode 100644 new mode 100755 diff --git a/langs/en_US/kundenkarte.lang b/langs/en_US/kundenkarte.lang old mode 100644 new mode 100755 diff --git a/lib/graph_view.lib.php b/lib/graph_view.lib.php old mode 100644 new mode 100755 diff --git a/lib/kundenkarte.lib.php b/lib/kundenkarte.lib.php old mode 100644 new mode 100755 diff --git a/modulebuilder.txt b/modulebuilder.txt old mode 100644 new mode 100755 diff --git a/pwa.php b/pwa.php index 8dac1f8..274f5c9 100755 --- a/pwa.php +++ b/pwa.php @@ -410,6 +410,6 @@ $themeColor = getDolGlobalString('THEME_ELDY_TOPMENU_BACK1', '#3498db'); window.DOLIBARR_URL = ''; window.MODULE_URL = '/custom/kundenkarte'; - + diff --git a/sql/data.sql b/sql/data.sql old mode 100644 new mode 100755 diff --git a/sql/data_building_types.sql b/sql/data_building_types.sql old mode 100644 new mode 100755 diff --git a/sql/data_busbar_types.sql b/sql/data_busbar_types.sql old mode 100644 new mode 100755 diff --git a/sql/data_medium_types.sql b/sql/data_medium_types.sql old mode 100644 new mode 100755 diff --git a/sql/data_terminal_types.sql b/sql/data_terminal_types.sql old mode 100644 new mode 100755 diff --git a/sql/dolibarr_allversions.sql b/sql/dolibarr_allversions.sql old mode 100644 new mode 100755 diff --git a/sql/llx_c_kundenkarte_anlage_system.key.sql b/sql/llx_c_kundenkarte_anlage_system.key.sql old mode 100644 new mode 100755 diff --git a/sql/llx_c_kundenkarte_anlage_system.sql b/sql/llx_c_kundenkarte_anlage_system.sql old mode 100644 new mode 100755 diff --git a/sql/llx_kundenkarte_anlage.key.sql b/sql/llx_kundenkarte_anlage.key.sql old mode 100644 new mode 100755 diff --git a/sql/llx_kundenkarte_anlage.sql b/sql/llx_kundenkarte_anlage.sql old mode 100644 new mode 100755 diff --git a/sql/llx_kundenkarte_anlage_accessory.key.sql b/sql/llx_kundenkarte_anlage_accessory.key.sql old mode 100644 new mode 100755 diff --git a/sql/llx_kundenkarte_anlage_accessory.sql b/sql/llx_kundenkarte_anlage_accessory.sql old mode 100644 new mode 100755 diff --git a/sql/llx_kundenkarte_anlage_connection.key.sql b/sql/llx_kundenkarte_anlage_connection.key.sql old mode 100644 new mode 100755 diff --git a/sql/llx_kundenkarte_anlage_connection.sql b/sql/llx_kundenkarte_anlage_connection.sql old mode 100644 new mode 100755 diff --git a/sql/llx_kundenkarte_anlage_contact.sql b/sql/llx_kundenkarte_anlage_contact.sql old mode 100644 new mode 100755 diff --git a/sql/llx_kundenkarte_anlage_files.key.sql b/sql/llx_kundenkarte_anlage_files.key.sql old mode 100644 new mode 100755 diff --git a/sql/llx_kundenkarte_anlage_files.sql b/sql/llx_kundenkarte_anlage_files.sql old mode 100644 new mode 100755 diff --git a/sql/llx_kundenkarte_anlage_type.key.sql b/sql/llx_kundenkarte_anlage_type.key.sql old mode 100644 new mode 100755 diff --git a/sql/llx_kundenkarte_anlage_type.sql b/sql/llx_kundenkarte_anlage_type.sql old mode 100644 new mode 100755 diff --git a/sql/llx_kundenkarte_anlage_type_field.key.sql b/sql/llx_kundenkarte_anlage_type_field.key.sql old mode 100644 new mode 100755 diff --git a/sql/llx_kundenkarte_anlage_type_field.sql b/sql/llx_kundenkarte_anlage_type_field.sql old mode 100644 new mode 100755 diff --git a/sql/llx_kundenkarte_audit_log.key.sql b/sql/llx_kundenkarte_audit_log.key.sql old mode 100644 new mode 100755 diff --git a/sql/llx_kundenkarte_audit_log.sql b/sql/llx_kundenkarte_audit_log.sql old mode 100644 new mode 100755 diff --git a/sql/llx_kundenkarte_building_type.key.sql b/sql/llx_kundenkarte_building_type.key.sql old mode 100644 new mode 100755 diff --git a/sql/llx_kundenkarte_building_type.sql b/sql/llx_kundenkarte_building_type.sql old mode 100644 new mode 100755 diff --git a/sql/llx_kundenkarte_busbar_type.key.sql b/sql/llx_kundenkarte_busbar_type.key.sql old mode 100644 new mode 100755 diff --git a/sql/llx_kundenkarte_busbar_type.sql b/sql/llx_kundenkarte_busbar_type.sql old mode 100644 new mode 100755 diff --git a/sql/llx_kundenkarte_equipment.key.sql b/sql/llx_kundenkarte_equipment.key.sql old mode 100644 new mode 100755 diff --git a/sql/llx_kundenkarte_equipment.sql b/sql/llx_kundenkarte_equipment.sql old mode 100644 new mode 100755 diff --git a/sql/llx_kundenkarte_equipment_carrier.key.sql b/sql/llx_kundenkarte_equipment_carrier.key.sql old mode 100644 new mode 100755 diff --git a/sql/llx_kundenkarte_equipment_carrier.sql b/sql/llx_kundenkarte_equipment_carrier.sql old mode 100644 new mode 100755 diff --git a/sql/llx_kundenkarte_equipment_connection.key.sql b/sql/llx_kundenkarte_equipment_connection.key.sql old mode 100644 new mode 100755 diff --git a/sql/llx_kundenkarte_equipment_connection.sql b/sql/llx_kundenkarte_equipment_connection.sql old mode 100644 new mode 100755 diff --git a/sql/llx_kundenkarte_equipment_panel.sql b/sql/llx_kundenkarte_equipment_panel.sql old mode 100644 new mode 100755 diff --git a/sql/llx_kundenkarte_equipment_type.key.sql b/sql/llx_kundenkarte_equipment_type.key.sql old mode 100644 new mode 100755 diff --git a/sql/llx_kundenkarte_equipment_type.sql b/sql/llx_kundenkarte_equipment_type.sql old mode 100644 new mode 100755 diff --git a/sql/llx_kundenkarte_equipment_type_field.key.sql b/sql/llx_kundenkarte_equipment_type_field.key.sql old mode 100644 new mode 100755 diff --git a/sql/llx_kundenkarte_equipment_type_field.sql b/sql/llx_kundenkarte_equipment_type_field.sql old mode 100644 new mode 100755 diff --git a/sql/llx_kundenkarte_favorite_products.key.sql b/sql/llx_kundenkarte_favorite_products.key.sql old mode 100644 new mode 100755 diff --git a/sql/llx_kundenkarte_favorite_products.sql b/sql/llx_kundenkarte_favorite_products.sql old mode 100644 new mode 100755 diff --git a/sql/llx_kundenkarte_favorite_products_contact.sql b/sql/llx_kundenkarte_favorite_products_contact.sql old mode 100644 new mode 100755 diff --git a/sql/llx_kundenkarte_medium_type.key.sql b/sql/llx_kundenkarte_medium_type.key.sql old mode 100644 new mode 100755 diff --git a/sql/llx_kundenkarte_medium_type.sql b/sql/llx_kundenkarte_medium_type.sql old mode 100644 new mode 100755 diff --git a/sql/llx_kundenkarte_societe_system.key.sql b/sql/llx_kundenkarte_societe_system.key.sql old mode 100644 new mode 100755 diff --git a/sql/llx_kundenkarte_societe_system.sql b/sql/llx_kundenkarte_societe_system.sql old mode 100644 new mode 100755 diff --git a/sql/llx_kundenkarte_societe_system_contact.sql b/sql/llx_kundenkarte_societe_system_contact.sql old mode 100644 new mode 100755 diff --git a/sql/llx_kundenkarte_terminal_bridge.key.sql b/sql/llx_kundenkarte_terminal_bridge.key.sql old mode 100644 new mode 100755 diff --git a/sql/llx_kundenkarte_terminal_bridge.sql b/sql/llx_kundenkarte_terminal_bridge.sql old mode 100644 new mode 100755 diff --git a/sql/update_3.0.0.sql b/sql/update_3.0.0.sql old mode 100644 new mode 100755 diff --git a/sql/update_3.1.0.sql b/sql/update_3.1.0.sql old mode 100644 new mode 100755 diff --git a/sql/update_3.2.0.sql b/sql/update_3.2.0.sql old mode 100644 new mode 100755 diff --git a/sql/update_3.3.0.sql b/sql/update_3.3.0.sql old mode 100644 new mode 100755 diff --git a/sql/update_3.3.2.sql b/sql/update_3.3.2.sql old mode 100644 new mode 100755 diff --git a/sql/update_3.4.1.sql b/sql/update_3.4.1.sql old mode 100644 new mode 100755 diff --git a/sql/update_3.6.0.sql b/sql/update_3.6.0.sql old mode 100644 new mode 100755 diff --git a/sw.js b/sw.js index c584e88..38aa7e6 100755 --- a/sw.js +++ b/sw.js @@ -3,7 +3,7 @@ * Offline-First für Schaltschrank-Dokumentation */ -const CACHE_NAME = 'kundenkarte-pwa-v12.4'; +const CACHE_NAME = 'kundenkarte-pwa-v12.5'; const OFFLINE_CACHE = 'kundenkarte-offline-v12.4'; // Statische Assets die immer gecached werden (ohne Query-String) diff --git a/tabs/anlagen.php b/tabs/anlagen.php old mode 100644 new mode 100755 diff --git a/tabs/contact_anlagen.php b/tabs/contact_anlagen.php old mode 100644 new mode 100755 diff --git a/tabs/contact_favoriteproducts.php b/tabs/contact_favoriteproducts.php old mode 100644 new mode 100755 diff --git a/tabs/favoriteproducts.php b/tabs/favoriteproducts.php old mode 100644 new mode 100755