From da9cad0723b2375d2749b41886609b2bf844023a Mon Sep 17 00:00:00 2001 From: "johnny@pittpc.com" Date: Sun, 2 Feb 2020 01:08:27 -0500 Subject: [PATCH] Lots of updates, modal design updates, added notes to many tables, added contact relation to location, moved next_date as primary sorted in recurring, updated database tables, few fixes for transfers and other small bug fixes --- accounts.php | 1 + add_account_modal.php | 8 ++ add_client_modal.php | 72 ++++++++--- add_contact_modal.php | 137 +++++++++++++-------- add_location_modal.php | 218 +++++++++++++++++++++----------- add_transfer_modal.php | 207 +++++++++++++++++-------------- add_vendor_modal.php | 25 ++-- alerts.php | 27 ++-- alerts_archived.php | 144 ++++++++++++++++++++++ client_contacts.php | 1 + client_locations.php | 6 +- client_logins.php | 1 + client_vendors.php | 2 + clients.php | 2 + contacts.php | 1 + cron.php | 2 +- db.sql | 14 ++- edit_account_modal.php | 7 ++ edit_client_modal.php | 76 +++++++++--- edit_contact_modal.php | 158 +++++++++++++++--------- edit_location_modal.php | 260 +++++++++++++++++++++++++++++---------- edit_transfer_modal.php | 194 ++++++++++++++++------------- edit_vendor_modal.php | 23 +++- export_excel_example.php | 47 +++++++ post.php | 98 +++++++++++---- recurring.php | 13 +- transfers.php | 5 +- vendors.php | 2 + 28 files changed, 1232 insertions(+), 519 deletions(-) create mode 100644 alerts_archived.php create mode 100644 export_excel_example.php diff --git a/accounts.php b/accounts.php index a3e20cea..90f7d24f 100644 --- a/accounts.php +++ b/accounts.php @@ -80,6 +80,7 @@ $account_id = $row['account_id']; $account_name = $row['account_name']; $opening_balance = $row['opening_balance']; + $account_notes = $row['account_notes']; $sql_payments = mysqli_query($mysqli,"SELECT SUM(payment_amount) AS total_payments FROM payments WHERE account_id = $account_id"); $row = mysqli_fetch_array($sql_payments); diff --git a/add_account_modal.php b/add_account_modal.php index ed322b07..02aa4239 100644 --- a/add_account_modal.php +++ b/add_account_modal.php @@ -9,6 +9,7 @@
-