This commit is contained in:
Frank Schubert
2024-11-07 16:28:05 +01:00
parent bb02b67696
commit 6c0d334bbc
33 changed files with 172284 additions and 30 deletions
+5 -1
View File
@@ -164,7 +164,9 @@ class BillingModel {
$sql = "SELECT * FROM Billing
WHERE $where
ORDER BY billingaddress_id LIMIT 1";
//var_dump($sql);exit;
mfLoghandler::singleton()->debug($sql);
$res = $db->query($sql);
if($db->num_rows($res)) {
$data = $db->fetch_object($res);
@@ -186,6 +188,8 @@ class BillingModel {
WHERE $where
ORDER BY `create` DESC LIMIT 1";
//var_dump($sql);exit;
mfLoghandler::singleton()->debug($sql);
$res = $db->query($sql);
if($db->num_rows($res)) {
$data = $db->fetch_object($res);