From 91c0547d8f4d101e28b1a33436501ed6090d0975 Mon Sep 17 00:00:00 2001 From: venba-Inspriron-3558 Date: Sat, 29 Nov 2025 14:45:06 +0530 Subject: [PATCH] FIX_code Reverted --- .../PolicyTransactionController.php | 6 ++++++ app/Views/ticket_type_modal.php | 18 ++++++++++-------- 2 files changed, 16 insertions(+), 8 deletions(-) diff --git a/app/Controllers/PolicyTransactionController.php b/app/Controllers/PolicyTransactionController.php index 35425655..234dac55 100644 --- a/app/Controllers/PolicyTransactionController.php +++ b/app/Controllers/PolicyTransactionController.php @@ -244,6 +244,12 @@ ->where('user_profiles.is_active', 1) ->findAll(); + // Fetch Partner Agent + $data['partner_agent'] = db_connect()->table('partner_agent') + ->where('is_active', 1) + ->get() + ->getResultArray(); + // Fetch ACM $data['ACM'] = $this->userModel ->where('role', 3) // Assuming `role` is in `user_profiles` diff --git a/app/Views/ticket_type_modal.php b/app/Views/ticket_type_modal.php index 83df9bd9..99782601 100644 --- a/app/Views/ticket_type_modal.php +++ b/app/Views/ticket_type_modal.php @@ -1,6 +1,6 @@