s1
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user