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',