FIX_LOGIN_ISSUE : RV
This commit is contained in:
parent
ff74db6f26
commit
407482cbd3
@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -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',
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user