🎫 Tinker Tickets
👤 Admin
Dashboard Control Center

Ticket Dashboard

Search & Filter
Clear
Showing results for: "" ( ticket found)
Table Controls
Total Tickets:
Bulk Operations
Ticket List
'Ticket ID', 'priority' => 'Priority', 'title' => 'Title', 'category' => 'Category', 'type' => 'Type', 'status' => 'Status', 'created_by' => 'Created By', 'assigned_to' => 'Assigned To', 'created_at' => 'Created', 'updated_at' => 'Updated' ]; foreach($columns as $col => $label) { $newDir = ($currentSort === $col && $currentDir === 'asc') ? 'desc' : 'asc'; $sortClass = ($currentSort === $col) ? "sort-$currentDir" : ''; $sortParams = array_merge($_GET, ['sort' => $col, 'dir' => $newDir]); $sortUrl = '?' . http_build_query($sortParams); echo ""; } ?> 0) { foreach($tickets as $row) { $creator = $row['creator_display_name'] ?? $row['creator_username'] ?? 'System'; $assignedTo = $row['assigned_display_name'] ?? $row['assigned_username'] ?? 'Unassigned'; echo ""; // Add checkbox column for admins if ($GLOBALS['currentUser']['is_admin'] ?? false) { echo ""; } echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; } } else { $colspan = ($GLOBALS['currentUser']['is_admin'] ?? false) ? '11' : '10'; echo ""; } ?>
$label
{$row['ticket_id']}{$row['priority']}" . htmlspecialchars($row['title']) . "{$row['category']}{$row['type']}{$row['status']}" . htmlspecialchars($creator) . "" . htmlspecialchars($assignedTo) . "" . date('Y-m-d H:i', strtotime($row['created_at'])) . "" . date('Y-m-d H:i', strtotime($row['updated_at'])) . "
No tickets found