From 2fababd4960aa8b2f9a9daf6c8e2029520970e88 Mon Sep 17 00:00:00 2001 From: Hyojin Ahn Date: Tue, 13 Jan 2026 16:30:41 -0500 Subject: [PATCH] [Order] Modified to show default sludge from daily then customer --- public_html/doc/customer_detail.php | 2 +- public_html/lib/order_lib.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/public_html/doc/customer_detail.php b/public_html/doc/customer_detail.php index 427a178..72df484 100644 --- a/public_html/doc/customer_detail.php +++ b/public_html/doc/customer_detail.php @@ -2298,7 +2298,7 @@ $(document).ready(function(){
- +
diff --git a/public_html/lib/order_lib.php b/public_html/lib/order_lib.php index b2708c1..329e3c5 100644 --- a/public_html/lib/order_lib.php +++ b/public_html/lib/order_lib.php @@ -89,7 +89,7 @@ if ($_SESSION['ss_LEVEL'] == 9) $add_qry = " AND m_uid = '".$_SESSION['ss_UID']. else $add_qry = ""; // Get Sludge Info -$qry_sludge = "SELECT IFNULL(c_sludge,0) FROM tbl_customer WHERE c_uid ='$d_customeruid' "; +$qry_sludge = "SELECT IFNULL(c_sludge,0) as c_sludge FROM tbl_customer WHERE c_uid ='$d_customeruid' "; $rt_sludge = $jdb->fQuery($qry_sludge, "fetch query error"); @@ -426,7 +426,7 @@ $(document).ready(function(){
- +