From a23005babe30b7c0a0c0847e6e6318f9cf1496bb Mon Sep 17 00:00:00 2001 From: wrongecho Date: Thu, 5 Sep 2024 14:05:51 +0100 Subject: [PATCH] Portal - show client contacts --- portal/contacts.php | 72 ++++++++++++++++++++++++++++++++++++++++ portal/documents.php | 1 + portal/invoices.php | 1 + portal/portal_header.php | 5 ++- portal/quotes.php | 1 + portal/tickets.php | 1 + 6 files changed, 80 insertions(+), 1 deletion(-) create mode 100644 portal/contacts.php diff --git a/portal/contacts.php b/portal/contacts.php new file mode 100644 index 00000000..d0e40d77 --- /dev/null +++ b/portal/contacts.php @@ -0,0 +1,72 @@ + + +

Contacts

+
+ +
+ + + + + + + + + + + + + + + + + + + + + + +
NameEmailRoles
+ +
+ +
+ + +

Documents

diff --git a/portal/invoices.php b/portal/invoices.php index 028611d5..a6ed0bce 100644 --- a/portal/invoices.php +++ b/portal/invoices.php @@ -17,6 +17,7 @@ if ($session_contact_primary == 0 && !$session_contact_is_billing_contact) { $invoices_sql = mysqli_query($mysqli, "SELECT * FROM invoices WHERE invoice_client_id = $session_client_id AND invoice_status != 'Draft' ORDER BY invoice_date DESC"); ?> +

Invoices

diff --git a/portal/portal_header.php b/portal/portal_header.php index 237204a1..524e2108 100644 --- a/portal/portal_header.php +++ b/portal/portal_header.php @@ -62,10 +62,13 @@ header("X-Frame-Options: DENY"); // Legacy " href="quotes.php">Quotes - + + diff --git a/portal/quotes.php b/portal/quotes.php index dfb3ce52..64266fea 100644 --- a/portal/quotes.php +++ b/portal/quotes.php @@ -16,6 +16,7 @@ if ($session_contact_primary == 0 && !$session_contact_is_billing_contact) { $quotes_sql = mysqli_query($mysqli, "SELECT * FROM quotes WHERE quote_client_id = $session_client_id AND quote_status != 'Draft' ORDER BY quote_date DESC"); ?> +

Quotes

diff --git a/portal/tickets.php b/portal/tickets.php index 4fe60d06..045860b2 100644 --- a/portal/tickets.php +++ b/portal/tickets.php @@ -42,6 +42,7 @@ $total_tickets = intval($row['total_tickets']); ?> +

Tickets