From 704c8e409fcdc1fab9a897c949a72a2a8b33e0f9 Mon Sep 17 00:00:00 2001 From: johnnyq Date: Thu, 23 Feb 2023 18:33:40 -0500 Subject: [PATCH] Fix Opps causing broken guest view to invoices, fixed mobile view for global search and invoice / Quotes --- dashboard_financial.php | 2 +- global_search.php | 14 +++++++------- guest_view_invoice.php | 10 +++++----- invoice.php | 4 ++-- quote.php | 2 +- 5 files changed, 16 insertions(+), 16 deletions(-) diff --git a/dashboard_financial.php b/dashboard_financial.php index 24510afd..70eeccc1 100644 --- a/dashboard_financial.php +++ b/dashboard_financial.php @@ -327,7 +327,7 @@ $vendors_added = intval($row['vendors_added']); ?> - + -
+
Clients
@@ -74,7 +74,7 @@ if (isset($_GET['query'])) { -
+
Contacts
@@ -130,7 +130,7 @@ if (isset($_GET['query'])) { 0) { ?> -
+
Vendors
@@ -172,7 +172,7 @@ if (isset($_GET['query'])) { 0) { ?> -
+
Products
@@ -211,7 +211,7 @@ if (isset($_GET['query'])) { 0) { ?> -
+
Documents
@@ -255,7 +255,7 @@ if (isset($_GET['query'])) { 0) { ?> -
+
Tickets
@@ -304,7 +304,7 @@ if (isset($_GET['query'])) { 0) { ?> -
+
Logins
diff --git a/guest_view_invoice.php b/guest_view_invoice.php index f0617f58..96f8b33d 100644 --- a/guest_view_invoice.php +++ b/guest_view_invoice.php @@ -53,7 +53,7 @@ $contact_extension = htmlentities($row['contact_extension']); $contact_mobile = formatPhoneNumber($row['contact_mobile']); $client_website = htmlentities($row['client_website']); $client_currency_code = htmlentities($row['client_currency_code']); -$client_net_terms = intval(($row['client_net_terms']); +$client_net_terms = intval($row['client_net_terms']); if ($client_net_terms == 0) { $client_net_terms = intval($row['config_default_net_terms']); } @@ -133,10 +133,10 @@ $sql_invoice_items = mysqli_query($mysqli, "SELECT * FROM invoice_items WHERE it
-
+
">
-
+
@@ -148,7 +148,7 @@ $sql_invoice_items = mysqli_query($mysqli, "SELECT * FROM invoice_items WHERE it
-
+
  • @@ -158,7 +158,7 @@ $sql_invoice_items = mysqli_query($mysqli, "SELECT * FROM invoice_items WHERE it
-
+
  • diff --git a/invoice.php b/invoice.php index 219000cb..fe9694e2 100644 --- a/invoice.php +++ b/invoice.php @@ -193,10 +193,10 @@ if (isset($_GET['invoice_id'])) {
    -
    +
    " alt="Company logo">
    -
    +
    diff --git a/quote.php b/quote.php index 251d8321..8badc430 100644 --- a/quote.php +++ b/quote.php @@ -348,7 +348,7 @@ if (isset($_GET['quote_id'])) {
    -
    +
    Notes