diff --git a/alerts.php b/alerts.php
deleted file mode 100644
index d08e31b1..00000000
--- a/alerts.php
+++ /dev/null
@@ -1,55 +0,0 @@
-
-
-
-
-
diff --git a/notifications.php b/notifications.php
new file mode 100644
index 00000000..adf05432
--- /dev/null
+++ b/notifications.php
@@ -0,0 +1,69 @@
+
+
+
+
+
+
+
+ 0){ ?>
+
+
+
+
+
+ | Timestamp |
+ Type |
+ Notification |
+ Dismiss |
+
+
+
+
+
+ |
+ |
+ |
+ |
+
+
+
+
+
+
+
+
+
+
+
+ No Notifications
+
+
+
+
+
+ $sb, 'o' => $o)));
-$sql = mysqli_query($mysqli,"SELECT SQL_CALC_FOUND_ROWS * FROM alerts WHERE (alert_type LIKE '%$q%' OR alert_message LIKE '%$q%') AND DATE(alert_date) BETWEEN '$dtf' AND '$dtt' AND company_id = $session_company_id AND alert_ack_date IS NOT NULL ORDER BY $sb $o LIMIT $record_from, $record_to");
+$sql = mysqli_query($mysqli,"SELECT SQL_CALC_FOUND_ROWS * FROM notifications LEFT JOIN users ON notification_dismissed_by = user_id WHERE (notification_type LIKE '%$q%' OR notification LIKE '%$q%' OR user_name LIKE '%$q%') AND DATE(notification_timestamp) BETWEEN '$dtf' AND '$dtt' AND company_id = $session_company_id AND notification_dismissed_at IS NOT NULL ORDER BY $sb $o LIMIT $record_from, $record_to");
$num_rows = mysqli_fetch_row(mysqli_query($mysqli,"SELECT FOUND_ROWS()"));
@@ -60,14 +60,14 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli,"SELECT FOUND_ROWS()"));