From 95420fde5d8e3d67835af4fcb4db2d249d294ae1 Mon Sep 17 00:00:00 2001 From: root Date: Mon, 18 Mar 2019 18:38:11 -0400 Subject: [PATCH] added client assets, vendors, logins and notes and some cleanup --- add_client_asset.php | 64 ++++++++++++++++++++++++++++++ add_client_asset_modal.php | 79 +++++++++++++++++++++++++++++++++++++ add_client_login_modal.php | 52 ++++++++++++++++++++++++ add_client_note_modal.php | 34 ++++++++++++++++ add_client_vendor_modal.php | 43 ++++++++++++++++++++ client.php | 11 +++++- client_assets.php | 51 ++++++++++++++++++++++++ client_invoices.php | 63 +++++++++++++++++++++++++++++ client_logins.php | 47 ++++++++++++++++++++++ client_nav.php | 5 +-- client_notes.php | 44 +++++++++++++++++++++ client_routes.php | 4 +- client_vendors.php | 44 +++++++++++++++++++++ clients.php | 14 +++++-- config.php | 15 +++++++ post.php | 63 +++++++++++++++++++++++++++++ side_nav.php | 27 +++++++++---- 17 files changed, 642 insertions(+), 18 deletions(-) create mode 100644 add_client_asset.php create mode 100644 add_client_asset_modal.php create mode 100644 add_client_login_modal.php create mode 100644 add_client_note_modal.php create mode 100644 add_client_vendor_modal.php create mode 100644 client_assets.php create mode 100644 client_invoices.php create mode 100644 client_logins.php create mode 100644 client_notes.php create mode 100644 client_vendors.php diff --git a/add_client_asset.php b/add_client_asset.php new file mode 100644 index 00000000..5e935824 --- /dev/null +++ b/add_client_asset.php @@ -0,0 +1,64 @@ + \ No newline at end of file diff --git a/add_client_asset_modal.php b/add_client_asset_modal.php new file mode 100644 index 00000000..06e25add --- /dev/null +++ b/add_client_asset_modal.php @@ -0,0 +1,79 @@ + \ No newline at end of file diff --git a/add_client_login_modal.php b/add_client_login_modal.php new file mode 100644 index 00000000..8cd0698d --- /dev/null +++ b/add_client_login_modal.php @@ -0,0 +1,52 @@ + \ No newline at end of file diff --git a/add_client_note_modal.php b/add_client_note_modal.php new file mode 100644 index 00000000..4d60bb2a --- /dev/null +++ b/add_client_note_modal.php @@ -0,0 +1,34 @@ + \ No newline at end of file diff --git a/add_client_vendor_modal.php b/add_client_vendor_modal.php new file mode 100644 index 00000000..bbb665a7 --- /dev/null +++ b/add_client_vendor_modal.php @@ -0,0 +1,43 @@ + \ No newline at end of file diff --git a/client.php b/client.php index e2dc1aa4..44ca6bb6 100644 --- a/client.php +++ b/client.php @@ -35,9 +35,8 @@ if(isset($_GET['client_id'])){ New Location New Asset New Vendor - New Password + New Login New Invoice - New Payment New Quote New Attachment New Note @@ -65,6 +64,14 @@ if(isset($_GET['client_id'])){ + + + + + + + + diff --git a/client_assets.php b/client_assets.php new file mode 100644 index 00000000..8db121a0 --- /dev/null +++ b/client_assets.php @@ -0,0 +1,51 @@ + + +
+ + + + + + + + + + + + + + + + + + + + + + + +
TypeNameMakeSerialActions
+ +
+
\ No newline at end of file diff --git a/client_invoices.php b/client_invoices.php new file mode 100644 index 00000000..1bdfc882 --- /dev/null +++ b/client_invoices.php @@ -0,0 +1,63 @@ + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
NumberAmountDateDueStatusActions
INV-$ + +
+
\ No newline at end of file diff --git a/client_logins.php b/client_logins.php new file mode 100644 index 00000000..2bc3f803 --- /dev/null +++ b/client_logins.php @@ -0,0 +1,47 @@ + + +
+ + + + + + + + + + + + + + + + + + + + + +
DescriptionUsernamePasswordActions
+ +
+
\ No newline at end of file diff --git a/client_nav.php b/client_nav.php index c6b66cae..71c723d4 100644 --- a/client_nav.php +++ b/client_nav.php @@ -15,14 +15,11 @@ Vendors - diff --git a/client_notes.php b/client_notes.php new file mode 100644 index 00000000..0101c415 --- /dev/null +++ b/client_notes.php @@ -0,0 +1,44 @@ + + +
+ + + + + + + + + + + + + + + + + + + +
SubjectNoteActions
+ +
+
\ No newline at end of file diff --git a/client_routes.php b/client_routes.php index e10c9495..936ec415 100644 --- a/client_routes.php +++ b/client_routes.php @@ -16,8 +16,8 @@ if(isset($_GET['tab'])){ elseif($_GET['tab'] == "vendors"){ include("client_vendors.php"); } - elseif($_GET['tab'] == "passwords"){ - include("client_passwords.php"); + elseif($_GET['tab'] == "logins"){ + include("client_logins.php"); } elseif($_GET['tab'] == "invoices"){ include("client_invoices.php"); diff --git a/client_vendors.php b/client_vendors.php new file mode 100644 index 00000000..fd5f99b5 --- /dev/null +++ b/client_vendors.php @@ -0,0 +1,44 @@ + + +
+ + + + + + + + + + + + + + + + + + + +
VendorDescriptionActions
+ +
+
\ No newline at end of file diff --git a/clients.php b/clients.php index 9a9311c8..1736450c 100644 --- a/clients.php +++ b/clients.php @@ -14,8 +14,9 @@ Name - Email + Address Phone + Email Unpaid Actions @@ -30,19 +31,26 @@ $client_city = $row['client_city']; $client_state = $row['client_state']; $client_zip = $row['client_zip']; - $client_email = $row['client_email']; $client_phone = $row['client_phone']; if(strlen($client_phone)>2){ $client_phone = substr($row['client_phone'],0,3)."-".substr($row['client_phone'],3,3)."-".substr($row['client_phone'],6,4); } + $client_email = $row['client_email']; $client_website = $row['client_website']; ?> - + + " target="_blank"> + +
+ +
+ + $0.00