From 944f4c1f81ecbfaad0981f1f5e661f9c1e937635 Mon Sep 17 00:00:00 2001 From: venba-Inspriron-3558 Date: Thu, 21 Aug 2025 16:53:25 +0530 Subject: [PATCH 1/2] FIX_TKT notes alignment --- app/Views/thz_notes.php | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/app/Views/thz_notes.php b/app/Views/thz_notes.php index c558e88e..bd524ada 100644 --- a/app/Views/thz_notes.php +++ b/app/Views/thz_notes.php @@ -199,19 +199,19 @@
+
+ + + +
- - - - - - -
- - -
- + +
+ + +
+
@@ -403,7 +403,6 @@ success: function(response) { if (response.status === "success") { toastr.success(response.message, 'success'); - $('#ticketModal').modal('hide'); form.reset(); window.location.href = "" + id; } else { From 694bf4767e07da6b5b533a60e406db4beb0c5806 Mon Sep 17 00:00:00 2001 From: venba-Inspriron-3558 Date: Thu, 21 Aug 2025 17:16:16 +0530 Subject: [PATCH 2/2] BUG_in ticket fix --- app/Models/ThzMasterNotesModel.php | 3 ++- app/Views/thz_notes.php | 16 ++++++---------- 2 files changed, 8 insertions(+), 11 deletions(-) diff --git a/app/Models/ThzMasterNotesModel.php b/app/Models/ThzMasterNotesModel.php index 8654a936..d2a7191f 100644 --- a/app/Models/ThzMasterNotesModel.php +++ b/app/Models/ThzMasterNotesModel.php @@ -88,6 +88,7 @@ class ThzMasterNotesModel extends Model $ticketTypeFilter = "AND ( thz_master_notes.notes_type = 'External' OR thz_master_notes.notes_type = 'Internal' ) "; } + $integer_ticket_id = (int)$thz_id; $notes_sql = "SELECT thz_master_notes.*, @@ -105,7 +106,7 @@ class ThzMasterNotesModel extends Model LEFT JOIN thz_master ON thz_master.thz_id = thz_master_notes.thz_id AND LOWER(thz_master_notes.notes_by) = 'user' - WHERE thz_master_notes.thz_id = '. (int)$thz_id .' + WHERE thz_master_notes.thz_id = ". $integer_ticket_id ." $ticketTypeFilter ORDER BY thz_master_notes.created_at ASC"; diff --git a/app/Views/thz_notes.php b/app/Views/thz_notes.php index bd524ada..7cc9747a 100644 --- a/app/Views/thz_notes.php +++ b/app/Views/thz_notes.php @@ -232,7 +232,7 @@