Added Confirmation to Delete and Archiving tasks, also fixed broken trips page

This commit is contained in:
johnnyq
2023-09-05 19:02:52 -04:00
parent 4b368ee5af
commit 54c1befed9
38 changed files with 50 additions and 48 deletions

View File

@@ -103,7 +103,7 @@
<option value="">- Client (Optional) -</option>
<?php
$sql_clients = mysqli_query($mysqli, "SELECT * FROM clients WHERE client_archived_at > '$trip_created_at' OR trip_archived_at IS NULL ORDER BY client_archived_at ASC, client_name ASC");
$sql_clients = mysqli_query($mysqli, "SELECT * FROM clients WHERE client_archived_at > '$trip_created_at' OR client_archived_at IS NULL ORDER BY client_archived_at ASC, client_name ASC");
while ($row = mysqli_fetch_array($sql_clients)) {
$client_id_select = intval($row['client_id']);
$client_name_select = nullable_htmlentities($row['client_name']);