From 85b8d813efda99805b6affffddd3a012073021c8 Mon Sep 17 00:00:00 2001 From: venba-Inspriron-3558 Date: Wed, 26 Nov 2025 14:39:27 +0530 Subject: [PATCH] FIX_popupRestriction --- app/Controllers/ThzController.php | 2 +- app/Views/ticket_form_handler.php | 126 ++++++++++++++++++++++++++++-- 2 files changed, 120 insertions(+), 8 deletions(-) diff --git a/app/Controllers/ThzController.php b/app/Controllers/ThzController.php index 29f89df4..d0151013 100644 --- a/app/Controllers/ThzController.php +++ b/app/Controllers/ThzController.php @@ -108,7 +108,7 @@ class ThzController extends BaseController $data = $this->request->getGet(); - if ($returnType === 'web' && in_array(get_role_id(), [3, 4])) { + if ($returnType === 'web' && in_array(get_role_id(), [4])) { $data['assign_to'] = $data['assign_to'] ?? get_session_userid(); } diff --git a/app/Views/ticket_form_handler.php b/app/Views/ticket_form_handler.php index 149a9150..6d842f97 100644 --- a/app/Views/ticket_form_handler.php +++ b/app/Views/ticket_form_handler.php @@ -54,7 +54,7 @@ } ?> - + + +