From 5d2d6d0b0d457a4768586bc27aabb474b9fcd14a Mon Sep 17 00:00:00 2001 From: Suvo Date: Thu, 16 Oct 2025 13:02:59 +0000 Subject: [PATCH] s1 --- CONTENT/ROOT_URI/Admin/Due.php | 2 +- CONTENT/ROOT_URI/Admin/Report.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CONTENT/ROOT_URI/Admin/Due.php b/CONTENT/ROOT_URI/Admin/Due.php index 9215706..cc7740a 100644 --- a/CONTENT/ROOT_URI/Admin/Due.php +++ b/CONTENT/ROOT_URI/Admin/Due.php @@ -167,7 +167,7 @@ $grandTotal = [ foreach($types as $type){ $typeLike = "%$type%"; - if($_SESSION['type']==='admin'){ + if($_SESSION['type']==='admin' || $_SESSION['type']==='bm'){ $sql = "SELECT * FROM `" . $GLOBALS['arif_ac'] . "` WHERE `AA_TYPE` LIKE ? AND (`STATUS` IS NULL OR (`STATUS`!='closed' AND `STATUS`!='matured')) ORDER BY `AA_ID` DESC"; $stmt = $conn->prepare($sql); $stmt->bind_param("s", $typeLike); diff --git a/CONTENT/ROOT_URI/Admin/Report.php b/CONTENT/ROOT_URI/Admin/Report.php index 21af0bd..fa5d3a6 100644 --- a/CONTENT/ROOT_URI/Admin/Report.php +++ b/CONTENT/ROOT_URI/Admin/Report.php @@ -13,7 +13,7 @@ connect_error) die("Connection failed: " . $conn->connect_error);