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);