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
@@ -31,7 +31,7 @@ if ($_SERVER["REQUEST_METHOD"] == "POST") {
$anzahlStriche = (int)$anzahlStriche;
$kostenproStrich = floatval($kostenproStrich);
$kosten = floatval($anzahlStriche * $kostenproStrich);
$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) VALUES (?, ?, ?, ?, ?)";
@@ -158,4 +158,4 @@ $KostenproStrich = number_format($KostenproStrichtemp, 2, '.', '');
</div>
</section>
<?php include "footer.php"; ?>
<?php include "footer.php"; ?>