M0 Einrichtung
This commit is contained in:
@@ -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";
|
||||
|
||||
?>
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user