diff --git a/htdocs/compta/prelevement/config.php b/htdocs/compta/prelevement/config.php index 1ba91418952..ea44e78199e 100644 --- a/htdocs/compta/prelevement/config.php +++ b/htdocs/compta/prelevement/config.php @@ -42,6 +42,22 @@ if ($_GET["action"] == "set" && $user->admin) Header("Location: config.php"); } +if ($_GET["action"] == "addnotif") +{ + $bon = new BonPrelevement($db); + $bon->AddNotification($_POST["user"],$_POST["action"]); + + Header("Location: config.php"); +} + +if ($_GET["action"] == "deletenotif") +{ + $bon = new BonPrelevement($db); + $bon->DeleteNotificationById($_GET["notif"]); + + Header("Location: config.php"); +} + /* * * @@ -135,6 +151,87 @@ print '