Fix errors in EUR and recurring bills.

This commit is contained in:
2024-11-18 07:47:55 +01:00
parent 611c1c479f
commit e7ea6e34b0
5 changed files with 16 additions and 16 deletions

View File

@@ -1,7 +1,7 @@
<?php
if ("2" == $_POST['step'])
{
$sql = 'INSERT INTO ' . PREFIX . '_Reminder (Jahr, ID, Kontakt_ID, KfZ_ID, Admin_ID, MwSt, Datum) VALUES (YEAR(CURDATE()), NULL, NULL, "' . $_POST['Kontakt_ID'] . '", "' . $_POST['Admin_ID'] . '", "' . $_POST['MwSt'] . '", CURDATE())';
$sql = 'INSERT INTO ' . PREFIX . '_Reminder (Jahr, ID, KfZ_ID, Kontakt_ID, Admin_ID, MwSt, Datum) VALUES (YEAR(CURDATE()), NULL, 0, "' . $_POST['Kontakt_ID'] . '", "' . $_POST['Admin_ID'] . '", "' . $_POST['MwSt'] . '", CURDATE())';
$stmt = $db->prepare($sql);
if (!$stmt)
{