From 51cfa87ea5f1ac6f830c456b04809f9d2bf5b4ab Mon Sep 17 00:00:00 2001 From: Friedrich Beckmann Date: Sun, 1 Feb 2026 22:25:58 +0100 Subject: =?UTF-8?q?add=20Pr=C3=BCfungsamt=20as=20teilpr=C3=BCfung=20and=20?= =?UTF-8?q?delete=20option?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit I added Prüfungsamt as checkbox item to indicate if the result is reported to Prüfungsamt. The delete option allows to remove an entry from the database. --- setup.php | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'setup.php') diff --git a/setup.php b/setup.php index 640ee56..0cd3cd3 100644 --- a/setup.php +++ b/setup.php @@ -35,11 +35,18 @@ $pfp = array ( "name" => "Digitaltechnik", "pnr" => ["3976090"], "studiengang" => ["TI"] + ), + "amt" => array ( + "name" => "Prüfungsamt", + "pnr" => [], + "studiengang" => [] ) ); $notenlabor = ["BE", "NB", "AB", "NM", "NA"]; $notenklausur = ["100","130","170","200","230","270","300","330","370","400","500"]; +$notenamt = ["1"]; //amt is either 1 or not set, i.e "" +$notendelete = ["00", "000"]; //Unset value in database "00" for labor, "000" for klausur $students = array ( "12345" => array ( -- cgit v1.2.3