From fb1aa34d97e95f442170ce5d476d9bf1e89387a8 Mon Sep 17 00:00:00 2001 From: Flatlogic Bot Date: Fri, 27 Feb 2026 03:10:56 +0000 Subject: [PATCH] fix 6 --- admin/tables.php | 259 +++++++++++++++++------------------------ api/tables.php | 4 +- includes/functions.php | 58 ++++++--- 3 files changed, 146 insertions(+), 175 deletions(-) diff --git a/admin/tables.php b/admin/tables.php index 0c284a6..57351b3 100644 --- a/admin/tables.php +++ b/admin/tables.php @@ -71,7 +71,7 @@ $query = "SELECT t.*, a.name as area_name FROM tables t LEFT JOIN areas a ON t.area_id = a.id WHERE t.is_deleted = 0 - ORDER BY a.name ASC, t.table_number ASC"; + ORDER BY a.name ASC, table_number ASC"; $tables_pagination = paginate_query($pdo, $query); $tables = $tables_pagination['data']; @@ -98,219 +98,168 @@ $baseUrl = $protocol . $host . $project_root; -
+
- -
- -
+
- - + + - + + + + + - + - - + - - - - -
IDTable NumberQR CodeTable # Area Capacity StatusQR Code Actions
+
+ +
+
No tables found
+

Add your first table to get started.

+
# + + + Persons - - Available - - Occupied - - - + + + - + + + + + + + - - - - - - - +
+ + + + + + + + +
No tables found.
- -
- -
+
- - -