From 6788781ee6a9bbbb7fe4e3434d294dc8848ac3ea Mon Sep 17 00:00:00 2001 From: Marcus Hill Date: Sun, 17 Mar 2024 19:19:59 +0000 Subject: [PATCH] Assets and Logins - Show asset location when relating it to a login - Bugfix: Swap login_id for asset_id on client_assets.php, as login_id won't yet be defined - Bugfix: Don't show archived assets in the login relation modal --- client_assets.php | 59 +++++++++++++++++++------------------ client_login_add_modal.php | 11 +++++-- client_login_edit_modal.php | 11 +++++-- 3 files changed, 49 insertions(+), 32 deletions(-) diff --git a/client_assets.php b/client_assets.php index fb963d7e..4b052185 100644 --- a/client_assets.php +++ b/client_assets.php @@ -285,15 +285,14 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli, "SELECT FOUND_ROWS()")); - + - - 0) { - ?> - + " tabindex="-1"> + if ($login_count > 0) { ?> + + +