Do not show disabled or users that were before the trip creation date

This commit is contained in:
johnnyq
2023-11-07 16:34:32 -05:00
parent afc040bfe6
commit 5d1c283533
3 changed files with 8 additions and 5 deletions

View File

@@ -57,7 +57,6 @@
<option value="">- Select or Input Destination Address -</option>
<?php
// WIP Need to only show users within the session company
$sql_locations = mysqli_query($mysqli, "SELECT * FROM locations WHERE location_archived_at IS NULL AND location_client_id = $client_id ORDER BY location_name ASC");
while ($row = mysqli_fetch_array($sql_locations)) {
$location_name = nullable_htmlentities($row['location_name']);