diff --git a/client_assets.php b/client_assets.php index 11667e58..60c9aa41 100644 --- a/client_assets.php +++ b/client_assets.php @@ -40,7 +40,7 @@ if(isset($_GET['o'])){ $disp = "DESC"; } -$sql = mysqli_query($mysqli,"SELECT SQL_CALC_FOUND_ROWS * FROM assets +$sql = mysqli_query($mysqli,"SELECT SQL_CALC_FOUND_ROWS * FROM assets WHERE client_id = $client_id AND (asset_name LIKE '%$q%' OR asset_type LIKE '%$q%' OR asset_ip LIKE '%$q%' OR asset_make LIKE '%$q%' OR asset_model LIKE '%$q%' OR asset_serial LIKE '%$q%') ORDER BY $sb $o LIMIT $record_from, $record_to"); @@ -71,12 +71,14 @@ $total_pages = ceil($total_found_rows / 10);
| Type | Name | -Make | -Model | -Serial | -Assigned | +Type | +Make/Model | +Primary IP | +Serial Number | +Contact | +Location | +Action |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| - - - - | -@@ -188,14 +194,28 @@ $total_pages = ceil($total_found_rows / 10); - | -- | + + | + | + | + | + |
+
+
+
+
+
+ |