From eb01e4b4d5d021478d094cbef916704dd78cd82b Mon Sep 17 00:00:00 2001 From: johnnyq Date: Wed, 8 Nov 2023 13:34:58 -0500 Subject: [PATCH] Clean up Logic for Client Add and Client Edit Modals, same for trip add copy edit --- client_add_modal.php | 89 ++++++++++++------------- client_edit_modal.php | 146 +++++++++++++++++++----------------------- js/app.js | 6 -- trip_add_modal.php | 4 +- trip_copy_modal.php | 23 ++++++- trip_edit_modal.php | 2 +- 6 files changed, 135 insertions(+), 135 deletions(-) diff --git a/client_add_modal.php b/client_add_modal.php index 919fe1e6..cb99bea9 100644 --- a/client_add_modal.php +++ b/client_add_modal.php @@ -9,6 +9,8 @@
+ + + +
- - -
- -
-
- -
- "> +
+ +
+
+
+ ">
+
-
- -
-
- -
- +
+ +
+
+
+
+
-
- -
-
- -
- +
+ +
+
+
+
+
-
- -
-
- -
- +
+ +
+
+
+
- - - - - +
+ +
diff --git a/client_edit_modal.php b/client_edit_modal.php index 27ad927b..66b535a8 100644 --- a/client_edit_modal.php +++ b/client_edit_modal.php @@ -12,20 +12,25 @@ + + -
+ - +
-
- -
-
- -
- +
+ +
+
+
+
+
-
- -
-
- -
- +
+ +
+
+
+
+
-
- -
-
- -
- +
+ +
+
+
+
+
-
- -
-
- -
- +
+ +
+
+
+
- - - - - +
+ +
@@ -217,25 +215,13 @@
- - -
- -

No Tags Found!

- Try adding a few Settings > Tags -
- - -
diff --git a/js/app.js b/js/app.js index 6d783e27..1fdea279 100644 --- a/js/app.js +++ b/js/app.js @@ -13,12 +13,6 @@ $('.select2').select2({ theme: 'bootstrap4' }); -// Initialize Select2 Elements -$('.select2Tag').select2({ - theme: 'bootstrap4', - tags: true -}); - // Initialize TinyMCE tinymce.init({ selector: '.tinymce', diff --git a/trip_add_modal.php b/trip_add_modal.php index 6f29e6ba..8b6e7651 100644 --- a/trip_add_modal.php +++ b/trip_add_modal.php @@ -53,8 +53,8 @@
- +
- +
- +
diff --git a/trip_edit_modal.php b/trip_edit_modal.php index 2530c19b..c9846ac1 100644 --- a/trip_edit_modal.php +++ b/trip_edit_modal.php @@ -56,7 +56,7 @@
-