add new featurs like realtime 2026-5-10-9

This commit is contained in:
Hamza-Ayed
2026-05-10 00:59:49 +03:00
parent ab9f165ab5
commit 13b8b4cc7f
3 changed files with 23 additions and 2 deletions

View File

@@ -31,9 +31,11 @@ $stmt = $con->prepare($sql);
$stmt->execute($params);
if ($stmt->rowCount() > 0) {
// تسجيل العملية في السجل
logAudit($con, $user_id, "تحديث عمولة/أسعار النظام (Kazan)", "kazan", $id, $params);
jsonSuccess(null, "Kazan data updated successfully");
} else {
// If no rows were changed but execute was successful, it might be because the data is the same
// تسجيل محاولة التحديث حتى لو لم تتغير القيم (اختياري)
jsonSuccess(null, "Kazan data remains unchanged or updated");
}
?>