From 2f121b34e3047ae11fc7914be633a7fb4c789c84 Mon Sep 17 00:00:00 2001 From: Gowtham M Date: Fri, 22 Aug 2025 15:49:39 +0530 Subject: [PATCH] CHANGE_ added policy_id in hr file upload table : GWM --- app/Controllers/EmployeeRestController.php | 3 +++ app/Models/HrFileUploadModel.php | 1 + 2 files changed, 4 insertions(+) diff --git a/app/Controllers/EmployeeRestController.php b/app/Controllers/EmployeeRestController.php index 6fc764b3..f911e85a 100755 --- a/app/Controllers/EmployeeRestController.php +++ b/app/Controllers/EmployeeRestController.php @@ -3818,6 +3818,7 @@ class EmployeeRestController extends AdminController $data = [ 'client_id' => $this->request->getPost('client_id'), 'client_branch_id' => $this->request->getPost('client_branch_id'), + 'policy_id' => $this->request->getPost('policy_id'), 'policy_no' => $this->request->getPost('policy_no'), 'file_name' => $newFileName, 'file_action' => $this->request->getPost('file_action'), @@ -3854,6 +3855,7 @@ class EmployeeRestController extends AdminController $data = [ 'client_id' => $this->request->getPost('client_id'), 'client_branch_id' => $this->request->getPost('client_branch_id'), + 'policy_id' => $this->request->getPost('policy_id'), 'policy_no' => $this->request->getPost('policy_no'), 'file_action' => $this->request->getPost('file_action'), 'status' => $this->request->getPost('status'), @@ -3968,6 +3970,7 @@ class EmployeeRestController extends AdminController $filters = [ 'client_id', 'client_branch_id', + 'policy_id', 'policy_no', 'file_action', 'status', diff --git a/app/Models/HrFileUploadModel.php b/app/Models/HrFileUploadModel.php index e5e2a22b..c7d9b945 100644 --- a/app/Models/HrFileUploadModel.php +++ b/app/Models/HrFileUploadModel.php @@ -14,6 +14,7 @@ class HrFileUploadModel extends Model protected $allowedFields = [ 'client_id', 'client_branch_id', + 'policy_id', 'policy_no', 'file_name', 'file_action',