From 05f54a20db15f7546c02b2d196959c30ffb68625 Mon Sep 17 00:00:00 2001 From: root Date: Fri, 7 Jun 2019 23:47:11 -0400 Subject: [PATCH] Added select2 classes to all New records --- add_asset_modal.php | 8 ++++---- add_calendar_event_modal.php | 5 +++-- add_category_modal.php | 2 +- add_client_modal.php | 6 +++--- add_domain_modal.php | 4 ++-- add_expense_copy_modal.php | 6 +++--- add_expense_modal.php | 6 +++--- add_invoice_modal.php | 4 ++-- add_invoice_recurring_modal.php | 2 +- add_location_modal.php | 2 +- add_payment_modal.php | 4 ++-- add_quote_modal.php | 4 ++-- add_recurring_modal.php | 6 +++--- add_software_modal.php | 2 +- add_ticket_modal.php | 2 +- add_transfer_modal.php | 4 ++-- add_trip_modal.php | 8 ++++---- add_user_modal.php | 2 +- add_vendor_modal.php | 2 +- dashboard.php | 2 +- edit_category_modal.php | 2 +- edit_client_modal.php | 12 ++++++++---- post.php | 2 +- 23 files changed, 51 insertions(+), 46 deletions(-) diff --git a/add_asset_modal.php b/add_asset_modal.php index da204b71..54085d86 100644 --- a/add_asset_modal.php +++ b/add_asset_modal.php @@ -45,7 +45,7 @@
- @@ -93,7 +93,7 @@
- - - - - +
- diff --git a/add_client_modal.php b/add_client_modal.php index a1c02e2f..c787fb8e 100644 --- a/add_client_modal.php +++ b/add_client_modal.php @@ -47,7 +47,7 @@
- @@ -86,7 +86,7 @@
- $state_name) { ?> @@ -159,7 +159,7 @@
- $net_term_name) { ?> diff --git a/add_domain_modal.php b/add_domain_modal.php index d68ba880..141be2e2 100644 --- a/add_domain_modal.php +++ b/add_domain_modal.php @@ -26,7 +26,7 @@
-
- - - - - - - - > - - diff --git a/add_location_modal.php b/add_location_modal.php index 5e1bb368..d86d2ca0 100644 --- a/add_location_modal.php +++ b/add_location_modal.php @@ -45,7 +45,7 @@
- $state_name) { ?> diff --git a/add_payment_modal.php b/add_payment_modal.php index 18110143..178e248d 100644 --- a/add_payment_modal.php +++ b/add_payment_modal.php @@ -38,7 +38,7 @@
- - - > - - > - @@ -70,7 +70,7 @@
- - diff --git a/add_ticket_modal.php b/add_ticket_modal.php index afb05222..36e0b407 100644 --- a/add_ticket_modal.php +++ b/add_ticket_modal.php @@ -16,7 +16,7 @@
- > - - - - - - - - $state_name) { ?> diff --git a/dashboard.php b/dashboard.php index e7953cc0..fc95f919 100644 --- a/dashboard.php +++ b/dashboard.php @@ -53,7 +53,7 @@ $sql_latest_expenses = mysqli_query($mysqli,"SELECT * FROM expenses, vendors, ca ?>
-
- diff --git a/edit_client_modal.php b/edit_client_modal.php index ccb9b1a7..7fcad71a 100644 --- a/edit_client_modal.php +++ b/edit_client_modal.php @@ -48,10 +48,14 @@
- + - +
@@ -87,7 +91,7 @@
- $state_name) { ?> diff --git a/post.php b/post.php index 18aceb72..fb3ed07d 100644 --- a/post.php +++ b/post.php @@ -267,7 +267,7 @@ if(isset($_POST['edit_client'])){ mysqli_query($mysqli,"UPDATE clients SET client_name = '$name', client_type = '$type', client_address = '$address', client_city = '$city', client_state = '$state', client_zip = '$zip', client_phone = '$phone', client_email = '$email', client_website = '$website', client_net_terms = $net_terms, client_updated_at = NOW() WHERE client_id = $client_id"); - $_SESSION['alert_message'] = "Client updated"; + $_SESSION['alert_message'] = "Client updated type: $type - name: $name"; header("Location: " . $_SERVER["HTTP_REFERER"]);