M0 Einrichtung

This commit is contained in:
2026-07-11 22:24:22 +02:00
parent 6f99e7246d
commit 2e6d79e896
21 changed files with 1246 additions and 22 deletions
+2 -2
View File
@@ -166,7 +166,7 @@ if(checkKaffeelisteAccess($conn, $mailadress)){
$anzahlStriche = (int)$anzahlStriche;
$kostenproStrich = floatval($KostenproStrichtemp);
$kosten = floatval($anzahlStriche * $KostenproStrichtemp);
$datum = date("Y-d-m H:i:s"); // Das aktuelle Datum verwenden
$datum = date("Y-m-d H:i:s"); // Das aktuelle Datum verwenden
if($anzahlStriche != 0){
// SQL-Abfrage zum Einfügen der Daten
$sql = "INSERT INTO kl_Kaffeeverbrauch (MitarbeiterID, AnzahlStriche, Kosten, KostenproStrich, Datum, Eintragsart) VALUES (?, ?, ?, ?, ?, 2)";
@@ -238,4 +238,4 @@ if(checkKaffeelisteAccess($conn, $mailadress)){
<?php include "footer.php";
?>
?>