- Neues Diagramm zeigt Kupferzuschlag-Verlauf pro Kabel - Kabel-Auswahl mit Checkboxen (alle oder einzelne) - Modus-Auswahl: EUR/m oder Gesamtbetrag (mit Mindestmenge) - API: getProductsWithKupfergehalt(), getCableChartData() - Version auf 1.3 erhöht Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
14 lines
573 B
SQL
Executable file
14 lines
573 B
SQL
Executable file
-- Copyright (C) 2026 Eduard Wisch <data@data-it-solution.de>
|
|
--
|
|
-- Metallzuschlag-Historie: Tägliche Metallnotierungen von externen Quellen
|
|
--
|
|
|
|
CREATE TABLE llx_metallzuschlag_history (
|
|
rowid integer AUTO_INCREMENT PRIMARY KEY,
|
|
date_notiz date NOT NULL,
|
|
metal varchar(4) NOT NULL,
|
|
value double(24,8) NOT NULL,
|
|
value_month_avg double(24,8) DEFAULT NULL,
|
|
source varchar(32) DEFAULT 'sonepar' NOT NULL,
|
|
tms timestamp DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
|
|
) ENGINE=innodb;
|