diff --git a/app/Config/Constants.php b/app/Config/Constants.php index eee4bdcd..5cd84385 100755 --- a/app/Config/Constants.php +++ b/app/Config/Constants.php @@ -94,12 +94,12 @@ define('EVENT_PRIORITY_NORMAL', 100); define('EVENT_PRIORITY_HIGH', 10); /** - * @User Role Constant + * @User Teams Constant */ - define('ENROLLMENT_TEAM_ID', '1'); define('CLAIMS_TEAM_ID', '2'); -define('BUSINESS_TEAM_ID', '3'); +// define('BUSINESS_TEAM_ID', '3'); // old don't delete it +define('BUSINESS_TEAM_ID', '4'); // 25th OCT 2025 changed define('FINANCE_TEAM_ID', '4'); define('SALES_TEAM_ID', '5'); define('MANAGEMENT_TEAM_ID', '6'); @@ -107,9 +107,8 @@ define('BUSINESS_SUPPORT_TEAM_ID', '7'); define('POS_TEAM_ID', '8'); /** - * @User Teams Constant + * @User Role Constant */ - define('ADMIN_ROLE_ID', 1); define('MANAGER_ROLE_ID', 2); define('ACCOUNT_MANAGER_ROLE_ID', 3); diff --git a/app/Controllers/UserController.php b/app/Controllers/UserController.php index b4d391dc..ec046563 100755 --- a/app/Controllers/UserController.php +++ b/app/Controllers/UserController.php @@ -62,7 +62,7 @@ class UserController extends AdminController // echo '
';
// print_r($data); die;
$data['roleData'] = $this->roleModel->select('id, role')->findAll();
- $data['teamData'] = $this->teamModel->select('id, name')->findAll();
+ $data['teamData'] = $this->teamModel->select('id, name')->where('is_active',1)->findAll();
$this->loadLayout('UserList', $data);
}
@@ -156,9 +156,11 @@ class UserController extends AdminController
public function edit()
{
+ // echo ":/ in 159";
if (!$this->request->getPost()) {
return redirect()->to(base_url('/user/list'));
} else {
+ // echo ":/ in 163";
$id = $this->request->getPost('PrimaryKey');
$teams = $this->request->getPost('team');
$userData = $this->request->getPost();
@@ -166,6 +168,7 @@ class UserController extends AdminController
unset($userData['PrimaryKey']);
$existingData = $this->userModel->where('id',$id)->first();;
+ // dd($existingData);die;
// Update data in the 'users' table based on the $id
$userData['updated_by'] = get_session_userid();
diff --git a/app/Views/UserList.php b/app/Views/UserList.php
index 2936af69..3efb0786 100755
--- a/app/Views/UserList.php
+++ b/app/Views/UserList.php
@@ -673,7 +673,34 @@ table.dataTable tbody td {
BDS - All access
All access
+
+ Accounts
+ BDS - Policy Transaction
+ Policy | Endorsement | Statement Upload
+
+ BDS - Report
+ TAT wise | ACM Status wise | ACM TAT wise
+
+
+ BDS - Policy Report
+ BDS | Variance | Outstanding | IRDA | Renewal | TAT Band
+
+
+ BDS - Pending Actions
+ Finance Team
+
+
+ BDS - Masters
+ Vehicle | CD | Insurer
+
+
+ BDS - Documents
+ ✓
+
+
+
+
POS
BDS - Policy Transaction
diff --git a/app/Views/layout/header.php b/app/Views/layout/header.php
index 89457177..c8324f6c 100755
--- a/app/Views/layout/header.php
+++ b/app/Views/layout/header.php
@@ -1766,7 +1766,7 @@
-
+
@@ -1895,7 +1895,7 @@
-
+
-
+
-
+
@@ -1943,7 +1943,7 @@
BDS
-
+
Variance
@@ -2023,6 +2023,11 @@
Vehicle Master
+
+
+ Insurer Master
+
+