sorted more dropdowns alphabetically and fixed issue in edit trip where it would list all clients from all companies

This commit is contained in:
johnny@pittpc.com
2020-04-04 23:16:11 -04:00
parent 26e9f7a34b
commit 76709bdada
8 changed files with 13 additions and 13 deletions

View File

@@ -85,7 +85,7 @@
<option value="">- Client -</option>
<?php
$sql = mysqli_query($mysqli,"SELECT * FROM clients WHERE company_id = $session_company_id");
$sql = mysqli_query($mysqli,"SELECT * FROM clients WHERE company_id = $session_company_id ORDER BY client_name ASC");
while($row = mysqli_fetch_array($sql)){
$client_id = $row['client_id'];
$client_name = $row['client_name'];