This commit is contained in:
VENKATESHWARAN 2025-12-10 12:00:19 +05:30
parent 109c982c79
commit 1c34b18cc4

View File

@ -4977,10 +4977,10 @@ class EmployeeRestController extends AdminController
$data = db_connect()->table('partner_claim_type_master')->select('id,claim_type')->where('is_active',1)->get()->getResultArray(); $data = db_connect()->table('partner_claim_type_master')->select('id,claim_type')->where('is_active',1)->get()->getResultArray();
if (!$data) { if (!$data) {
return $this->failNotFound('No data found'); return $this->respond(['status' => 'failed', 'code' => 404, 'data' => []], 200);
} }
return $this->respond(['status' => 200,'message' => 'success','data' => $data]); return $this->respond(['status' => 'success', 'code' => 200, 'data' => $data]);
} }
public function uploadIRDocs() public function uploadIRDocs()