This commit is contained in:
2025-10-16 13:02:59 +00:00
parent 3c14d7b5b3
commit 5d2d6d0b0d
2 changed files with 2 additions and 2 deletions

View File

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