FIX_ISSUE

This commit is contained in:
VENKATESHWARAN 2025-12-11 09:35:25 +05:30
parent fbb92644ec
commit dc88f23cc7

View File

@ -529,7 +529,7 @@ class EmployeeRestController extends AdminController
{
$is_from_copy = $this->request->getGet('is_from_copy') ?? null;
if($is_from_copy == false && $is_from_copy == null){
if($is_from_copy == false || $is_from_copy == null){
$this->employeeModel->where('id', $this->request->getGet('id') )
->where('is_active', 1 )