From b34298e45b6f7172a4c62a7ad4f18e1e3e89d796 Mon Sep 17 00:00:00 2001 From: johnnyq Date: Fri, 5 Sep 2025 19:17:02 -0400 Subject: [PATCH] Hide Add Credit button in Client Top Head Dropdown also hide credits in client listing if no credit balance --- user/clients.php | 2 ++ user/includes/inc_client_top_head.php | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/user/clients.php b/user/clients.php index 20b10b7a..6b6c3bd3 100644 --- a/user/clients.php +++ b/user/clients.php @@ -566,10 +566,12 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli, "SELECT FOUND_ROWS()")); Paid + 0) { ?>
Credit
+
Monthly diff --git a/user/includes/inc_client_top_head.php b/user/includes/inc_client_top_head.php index ba602466..48ecb584 100644 --- a/user/includes/inc_client_top_head.php +++ b/user/includes/inc_client_top_head.php @@ -1,3 +1,5 @@ + +
@@ -16,10 +18,12 @@ Edit Client = 2) { ?> + Add Credit + = 3) { ?>