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 c558e88e..7cc9747a 100644 --- a/app/Views/thz_notes.php +++ b/app/Views/thz_notes.php @@ -199,19 +199,19 @@
+
+ + + +
- - - - - - -
- - -
- + +
+ + +
+
@@ -232,7 +232,7 @@