FIX_LOGIN_ISSUE : RV

This commit is contained in:
VENKATESHWARAN 2025-02-26 11:55:15 +05:30
parent ff74db6f26
commit 407482cbd3
2 changed files with 3 additions and 1 deletions

View File

@ -69,7 +69,8 @@ class RestAuthenticationController extends AdminController
$client = \Config\Services::curlrequest(); $client = \Config\Services::curlrequest();
$url = env('POST_ENROLLMENT_BASEURL').$endPoint; $url = env('POST_ENROLLMENT_BASEURL').$endPoint;
$response = $client->post( $url, ['json' => $postData, 'http_errors' => false ] ); $response = $client->post( $url, ['json' => $postData, 'http_errors' => false ] );
return json_decode($response->getBody(), true); // return json_decode($response->getBody(), true);
return $response->getBody();
} }

View File

@ -112,6 +112,7 @@ class EmployeePolicyModel extends Model
'emp.basic_pay', 'emp.basic_pay',
'emp.band as grade', 'emp.band as grade',
'policy_type.policy_type', 'policy_type.policy_type',
'policy_type.id as policy_type_id',
'client_branch.branch_name as client_branch_name', 'client_branch.branch_name as client_branch_name',
'client_branch.branch_code as client_branch_code', 'client_branch.branch_code as client_branch_code',
'cp.policy_no', 'cp.policy_no',