From 38e118115e7205c6eebcfceb56b8f17d2decfeb8 Mon Sep 17 00:00:00 2001 From: "johnny@pittpc.com" Date: Wed, 20 Jan 2021 20:31:04 -0500 Subject: [PATCH] Reworkings on client print added counts added document header etc --- client_print.php | 73 +++++++++++++++++++++++++++++------------------- 1 file changed, 45 insertions(+), 28 deletions(-) diff --git a/client_print.php b/client_print.php index c073f2b5..999acc89 100644 --- a/client_print.php +++ b/client_print.php @@ -23,7 +23,7 @@ if(isset($_GET['client_id'])){ //Query each table and store them in their array $sql_contacts = mysqli_query($mysqli,"SELECT * FROM contacts WHERE client_id = $client_id ORDER BY contact_name ASC"); - $sql_locations = mysqli_query($mysqli,"SELECT * FROM locations WHERE client_id = $client_id ORDER BY location_id DESC"); + $sql_locations = mysqli_query($mysqli,"SELECT * FROM locations WHERE client_id = $client_id ORDER BY location_name ASC"); $sql_assets = mysqli_query($mysqli,"SELECT * FROM assets WHERE client_id = $client_id ORDER BY asset_type ASC"); $sql_vendors = mysqli_query($mysqli,"SELECT * FROM vendors WHERE client_id = $client_id ORDER BY vendor_name ASC"); $sql_logins = mysqli_query($mysqli,"SELECT *, AES_DECRYPT(login_password, '$config_aes_key') AS login_password FROM logins WHERE client_id = $client_id ORDER BY login_name ASC"); @@ -95,17 +95,35 @@ if(isset($_GET['client_id'])){ +
+
+ + + + + + + + + + + + + +
DocumentIT DocumentationDate
Prepared ByConfidential
+
+
-

+

- - - - - + @@ -154,7 +172,7 @@ if(isset($_GET['client_id'])){ 0){ ?> -

Contacts

+

Contacts ()

Address
City State Zip + +
+ +
Phone
@@ -205,7 +223,7 @@ if(isset($_GET['client_id'])){ 0){ ?> -

Locations

+

Locations ()

@@ -232,7 +250,7 @@ if(isset($_GET['client_id'])){ ?> - + @@ -248,7 +266,7 @@ if(isset($_GET['client_id'])){ 0){ ?> -

Assets

+

Assets ()

$location_city $location_state $location_zip"; ?>
@@ -304,7 +322,7 @@ if(isset($_GET['client_id'])){ 0){ ?> -

Vendors

+

Vendors ()

@@ -354,15 +372,15 @@ if(isset($_GET['client_id'])){ 0){ ?> -

Logins

+

Logins ()

- + - + @@ -378,11 +396,10 @@ if(isset($_GET['client_id'])){ ?> - + - 0){ ?> -

Networks

+

Networks ()

Category NameURL/Host Username PasswordURL
@@ -437,7 +454,7 @@ if(isset($_GET['client_id'])){ 0){ ?> -

Domains

+

Web Domains ()

@@ -486,7 +503,7 @@ if(isset($_GET['client_id'])){ 0){ ?> -

Software

+

Software ()

@@ -521,7 +538,7 @@ if(isset($_GET['client_id'])){ 0){ ?> -

Invoices

+

Invoices ()

@@ -565,17 +582,17 @@ if(isset($_GET['client_id'])){ 0){ ?> -

Payments

+

Payments ()

- + - + - + @@ -620,7 +637,7 @@ if(isset($_GET['client_id'])){ 0){ ?> -

Quotes

+

Quotes ()

Date RecievedDate Received Date Due Invoiceinitial Invoice AmountInvoice Amount Amount Payed Invoice BalanceMethodPayment Method Check #
@@ -661,7 +678,7 @@ if(isset($_GET['client_id'])){ 0){ ?> -

Recurring Invoices

+

Recurring Invoices ()

@@ -714,7 +731,7 @@ if(isset($_GET['client_id'])){ 0){ ?> -

Notes

+

Notes ()