Commit 080ac7e2 authored by Mahmoud Aglan's avatar Mahmoud Aglan

k

parent f50a8d54
......@@ -17,7 +17,7 @@ $isViewer = ($role === 'viewer');
$db = Database::getInstance();
$pendingReports = $db->count('cheat_reports', ['status' => 'eq.pending']);
$pendingWorkflows = $isAdmin ? $db->count('admin_users', ['status' => 'eq.pending']) : 0;
$pendingWorkflows = $isAdmin ? $db->count('approval_requests', ['status' => 'eq.pending']) : 0;
?>
<aside class="sidebar" id="sidebar">
<div class="sidebar-header">
......@@ -193,6 +193,10 @@ $pendingWorkflows = $isAdmin ? $db->count('admin_users', ['status' => 'eq.pendin
<svg class="nav-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><line x1="18" y1="20" x2="18" y2="10"/><line x1="12" y1="20" x2="12" y2="4"/><line x1="6" y1="20" x2="6" y2="14"/></svg>
<span class="nav-text">التحليلات</span>
</a>
<a href="/workflows/my-requests" class="nav-item <?= navActive('workflows', $currentModule) ?>">
<svg class="nav-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="16 3 21 3 21 8"/><line x1="4" y1="20" x2="21" y2="3"/><polyline points="21 16 21 21 16 21"/><line x1="15" y1="15" x2="21" y2="21"/><line x1="4" y1="4" x2="9" y2="9"/></svg>
<span class="nav-text">طلباتي</span>
</a>
<a href="/notifications" class="nav-item <?= navActive('notifications', $currentModule) ?>">
<svg class="nav-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M18 8A6 6 0 0 0 6 8c0 7-3 9-3 9h18s-3-2-3-9"/><path d="M13.73 21a2 2 0 0 1-3.46 0"/></svg>
<span class="nav-text">الإشعارات</span>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment