From 19daa289b2db0c5842f2493653577e21e9547697 Mon Sep 17 00:00:00 2001 From: johnnyq Date: Wed, 19 Feb 2025 14:18:16 -0500 Subject: [PATCH] Merged Files Vendors with Client Vendors seperated them with some header logic --- client_vendors.php | 280 ------------------ global_search.php | 2 +- includes/client_side_nav.php | 2 +- ...port_modal.php => vendor_export_modal.php} | 4 +- post/user/vendor.php | 22 +- vendors.php | 263 ++++++++++------ 6 files changed, 181 insertions(+), 392 deletions(-) delete mode 100644 client_vendors.php rename modals/{client_vendor_export_modal.php => vendor_export_modal.php} (79%) diff --git a/client_vendors.php b/client_vendors.php deleted file mode 100644 index da6a1b8a..00000000 --- a/client_vendors.php +++ /dev/null @@ -1,280 +0,0 @@ - - -
-
-

- Vendors -

-
-
- - - -
-
-
-
-
- - -
- -
-
- -
- -
-
-
- -
-
- "> - Archived - - -
-
- -
-
-
-
- - -
- - "> - - - - - - - - - - - Account #: $vendor_account_number"; - } else { - $vendor_account_number_display = ''; - } - $vendor_contact_name = nullable_htmlentities($row['vendor_contact_name']); - if ($vendor_contact_name) { - $vendor_contact_name_display = $vendor_contact_name; - } else { - $vendor_contact_name_display = "-"; - } - $vendor_phone = formatPhoneNumber($row['vendor_phone']); - $vendor_extension = nullable_htmlentities($row['vendor_extension']); - $vendor_email = nullable_htmlentities($row['vendor_email']); - $vendor_website = nullable_htmlentities($row['vendor_website']); - if ($vendor_website) { - $vendor_website_display = "$vendor_website "; - } else { - $vendor_website_display = "-"; - } - $vendor_hours = nullable_htmlentities($row['vendor_hours']); - $vendor_sla = nullable_htmlentities($row['vendor_sla']); - $vendor_code = nullable_htmlentities($row['vendor_code']); - $vendor_notes = nullable_htmlentities($row['vendor_notes']); - $vendor_created_at = nullable_htmlentities($row['vendor_created_at']); - $vendor_archived_at = nullable_htmlentities($row['vendor_archived_at']); - $vendor_template_id = intval($row['vendor_template_id']); - - - ?> - - - - - - - - - - - -
-
- -
-
- - Vendor - - - - Description - - - - Contact - - - - Website - - Action
-
- -
-
- -
- -
-
- -
-
-
-
- - - - -
- - -
- - -
- -
- -
-
-
- -
-
- - - - - + diff --git a/includes/client_side_nav.php b/includes/client_side_nav.php index 3f22cc87..02b6e611 100644 --- a/includes/client_side_nav.php +++ b/includes/client_side_nav.php @@ -85,7 +85,7 @@