add api file from used in s_menu fe accone
This commit is contained in:
@@ -118,6 +118,19 @@ class Journalgoodreceive extends MY_Controller
|
||||
exit;
|
||||
}
|
||||
|
||||
// if ($loginLevel == "branch") {
|
||||
// $where_conditions[] = "jurnalM_BranchCode = ?";
|
||||
// $params[] = $branchCode;
|
||||
// } elseif ($loginLevel == "regional") {
|
||||
// $where_conditions[] = "jurnalS_RegionalID = ?";
|
||||
// $params[] = $regionalId;
|
||||
|
||||
// if (!empty($branchCode)) {
|
||||
// $where_conditions[] = "jurnalM_BranchCode = ?";
|
||||
// $params[] = $branchCode;
|
||||
// }
|
||||
// }
|
||||
|
||||
// Gabungkan WHERE SQL
|
||||
$where_sql = implode(" AND ", $where_conditions);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user