From bf69d02cba75ba7f350033a8a1c1d70f860bda14 Mon Sep 17 00:00:00 2001 From: johnnyq Date: Thu, 19 Aug 2021 01:48:19 -0400 Subject: [PATCH] Added - filler to blank fields in all data listing, some other fixups of required fields etc --- add_certificate_modal.php | 4 ++-- add_vendor_modal.php | 2 +- client_assets.php | 14 ++++++++++-- client_certificates.php | 2 -- client_contacts.php | 45 +++++++++++++++++++++----------------- client_domains.php | 6 +++++ client_invoices.php | 7 +++++- client_locations.php | 13 ++++++++--- client_networks.php | 14 ++++++++++-- client_payments.php | 7 +++++- client_quotes.php | 7 +++++- client_software.php | 7 +++++- client_tickets.php | 7 +++++- client_vendors.php | 16 ++++++++++++-- clients.php | 16 +++++++++++--- edit_certificate_modal.php | 4 ++-- edit_vendor_modal.php | 2 +- invoices.php | 7 +++++- payments.php | 7 +++++- products.php | 7 +++++- quotes.php | 7 +++++- revenues.php | 7 +++++- tickets.php | 7 +++++- vendors.php | 14 +++++++++++- 24 files changed, 177 insertions(+), 52 deletions(-) diff --git a/add_certificate_modal.php b/add_certificate_modal.php index b69556f9..9323b168 100644 --- a/add_certificate_modal.php +++ b/add_certificate_modal.php @@ -22,12 +22,12 @@
- +
- +
diff --git a/add_vendor_modal.php b/add_vendor_modal.php index 5bf7ebdf..b924ceef 100644 --- a/add_vendor_modal.php +++ b/add_vendor_modal.php @@ -45,7 +45,7 @@
- +
diff --git a/client_assets.php b/client_assets.php index 31e8163e..ec8748df 100644 --- a/client_assets.php +++ b/client_assets.php @@ -91,8 +91,18 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli,"SELECT FOUND_ROWS()")); $asset_make = $row['asset_make']; $asset_model = $row['asset_model']; $asset_serial = $row['asset_serial']; + if(empty($asset_serial)){ + $asset_serial_display = "-"; + }else{ + $asset_serial_display = $asset_serial; + } $asset_os = $row['asset_os']; $asset_ip = $row['asset_ip']; + if(empty($asset_ip)){ + $asset_ip_display = "-"; + }else{ + $asset_ip_display = "$asset_ip"; + } $asset_mac = $row['asset_mac']; $asset_purchase_date = $row['asset_purchase_date']; $asset_warranty_expire = $row['asset_warranty_expire']; @@ -199,8 +209,8 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli,"SELECT FOUND_ROWS()")); - - + + diff --git a/client_certificates.php b/client_certificates.php index 1bc0e92b..aabddcd5 100644 --- a/client_certificates.php +++ b/client_certificates.php @@ -74,7 +74,6 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli,"SELECT FOUND_ROWS()")); Domain Issued By Expire - Updated Action @@ -95,7 +94,6 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli,"SELECT FOUND_ROWS()")); -