From ed20681790df086e024610fd000eaf8f4e9c44c1 Mon Sep 17 00:00:00 2001 From: johnnyq Date: Thu, 21 Mar 2024 15:56:09 -0400 Subject: [PATCH] Update Client Vendors to use the new media css function --- client_vendors.php | 28 ++++++++++++---------------- vendor_add_modal.php | 2 +- vendor_edit_modal.php | 2 +- 3 files changed, 14 insertions(+), 18 deletions(-) diff --git a/client_vendors.php b/client_vendors.php index c07b4455..1807148b 100644 --- a/client_vendors.php +++ b/client_vendors.php @@ -78,7 +78,6 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli, "SELECT FOUND_ROWS()")); "> Vendor - Description Contact Website Action @@ -91,11 +90,6 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli, "SELECT FOUND_ROWS()")); $vendor_id = intval($row['vendor_id']); $vendor_name = nullable_htmlentities($row['vendor_name']); $vendor_description = nullable_htmlentities($row['vendor_description']); - if (empty($vendor_description)) { - $vendor_description_display = "-"; - } else { - $vendor_description_display = $vendor_description; - } $vendor_account_number = nullable_htmlentities($row['vendor_account_number']); $vendor_contact_name = nullable_htmlentities($row['vendor_contact_name']); if (empty($vendor_contact_name)) { @@ -121,16 +115,18 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli, "SELECT FOUND_ROWS()")); ?> - - - - -
- - - - + + +
+ +
+
+
+
+
+
+ + diff --git a/vendor_add_modal.php b/vendor_add_modal.php index 327e9fad..80622856 100644 --- a/vendor_add_modal.php +++ b/vendor_add_modal.php @@ -147,7 +147,7 @@
- +
diff --git a/vendor_edit_modal.php b/vendor_edit_modal.php index 9d67d694..281c9e64 100644 --- a/vendor_edit_modal.php +++ b/vendor_edit_modal.php @@ -166,7 +166,7 @@
- +