Commit 1d1b4350 authored by Gerd Schachtschneider's avatar Gerd Schachtschneider
Browse files

add field substition in list_gefahr

parent 10a2216f
...@@ -35,7 +35,7 @@ driver = "mysqli" ...@@ -35,7 +35,7 @@ driver = "mysqli"
[_own] [_own]
dn = "mpi-magdeburg.mpg.de" dn = "mpi-magdeburg.mpg.de"
notify = 30 notify = 30
version = 1.0.06 version = 1.0.07
mailto = "db-responsable@<domain>.mpg.de" mailto = "db-responsable@<domain>.mpg.de"
mailname = "db-admin" mailname = "db-admin"
......
...@@ -178,6 +178,22 @@ END IF; ...@@ -178,6 +178,22 @@ END IF;
END IF; END IF;
-- CHANGES V1.0.07 - 2016-11-21
-- ****************************
-- fs|db::list_gefahr - add field substition
IF ( SELECT MAX(version) FROM dataface__version ) < '1007' THEN
-- list_gefahr
ALTER TABLE list_gefahr CHANGE cmr cmr TINYINT(1) NOT NULL DEFAULT '0';
ALTER TABLE list_gefahr ADD substition TINYINT(1) NOT NULL DEFAULT '0' AFTER anweisung;
TRUNCATE dataface__version;
INSERT INTO dataface__version (version) VALUES ('1007');
END IF;
END; END;
$$ $$
DELIMITER ; DELIMITER ;
......
...@@ -31,10 +31,16 @@ filter = 1 ...@@ -31,10 +31,16 @@ filter = 1
; Typ: tinyint(1) ; Typ: tinyint(1)
widget:type = checkbox widget:type = checkbox
vocabulary = anweisung vocabulary = anweisung
widget:label = BA notwendig widget:label = "BA notwendig"
column:label = BA notw. column:label = "BA notw."
filter = 1 filter = 1
[substition]
widget:type = checkbox
vocabulary = substition
widget:label = "Substition prüfen"
column:label = "Subst."
[lgk] [lgk]
widget:label = "Lagerklasse" widget:label = "Lagerklasse"
widget:type = "select" widget:type = "select"
......
...@@ -53,6 +53,10 @@ class tables_list_gefahr { ...@@ -53,6 +53,10 @@ class tables_list_gefahr {
return array(0=>'nein', 1=>'ja'); return array(0=>'nein', 1=>'ja');
} }
function valuelist__substition() {
return array(0=>'nein', 1=>'ja');
}
} }
?> ?>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment