From 800486037748e62df9332489407f9662a43d1cab Mon Sep 17 00:00:00 2001 From: vadivelJ96 Date: Thu, 21 Aug 2025 16:52:22 +0530 Subject: [PATCH] CHANGE_TICKETING_SYSTEM - VADIVEL J 2025-08-21 --- app/Controllers/ThzController.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/Controllers/ThzController.php b/app/Controllers/ThzController.php index 90e039f6..ba25efb8 100644 --- a/app/Controllers/ThzController.php +++ b/app/Controllers/ThzController.php @@ -109,7 +109,7 @@ class ThzController extends BaseController $data = $this->request->getPost(); - $data['notes_type'] = $data['notes_ticket_type'] ?? 'External' ; + $data['notes_type'] = $data['notes_type'] ?? 'External' ; $result = $this->thzMasterNotesModel->insert($data); @@ -161,12 +161,12 @@ class ThzController extends BaseController public function ticketConversationList(){ $data = $this->request->getGet(); - $data = $this->request->getGet(); + $returnType = strtolower($this->request->getGet('return_type') ?? 'api'); $thz_id = $data['thz_id'] ?? null; - $ticketType = $data['notes_ticket_type'] ?? 'External' ; + $ticketType = $data['notes_type'] ?? 'External' ; if($thz_id){ $result['master'] = $this->thzMasterModel