From cf322b17bc06cd5159e91a17af1de79fabd0cd9b Mon Sep 17 00:00:00 2001 From: Marcus Hill Date: Fri, 30 Aug 2024 22:57:58 +0100 Subject: [PATCH] Hide the Export function when there are no records (locations, tickets, vendors) --- client_locations.php | 14 ++++++++------ client_tickets.php | 10 ++++++---- client_vendors.php | 20 +++++++++++--------- 3 files changed, 25 insertions(+), 19 deletions(-) diff --git a/client_locations.php b/client_locations.php index f1d5ec4c9..4463d3074 100644 --- a/client_locations.php +++ b/client_locations.php @@ -55,10 +55,12 @@ Import - - - Export - + 0) { ?> + + + Export + + @@ -95,7 +97,7 @@
- "> Archived @@ -265,7 +267,7 @@ class="btn btn-Archive - +
diff --git a/client_tickets.php b/client_tickets.php index 49212d64b..de2b951ad 100644 --- a/client_tickets.php +++ b/client_tickets.php @@ -78,10 +78,12 @@ From Template - - - Export - + 0) { ?> + + + Export + + diff --git a/client_vendors.php b/client_vendors.php index 4905c0da2..74e6502ea 100644 --- a/client_vendors.php +++ b/client_vendors.php @@ -37,10 +37,12 @@ Create from Template - - - Export - + 0) { ?> + + + Export + + @@ -62,7 +64,7 @@
- "> Archived @@ -137,13 +139,13 @@ class="btn btn-"; } - + ?> @@ -161,7 +163,7 @@ class="btn btn-
- +
- +