aplication_uid

This commit is contained in:
CHIEFSOFT\ameye
2024-06-13 16:08:37 -04:00
parent 856f005f76
commit edb260f85f
+7 -3
View File
@@ -9,10 +9,14 @@ class Employers extends BaseController
{
$data = $this->request->getPost();
if ($data['employer_uid'] != '') {
$checkData = $this->APIcall("POST", "http://10.10.10.48:6332/api/verify/employer", json_encode($data));
if ($data['aplication_uid'] != '') {
$findEmp ="SELECT * from applications WHERE status =2 AND uid = '".$data['aplication_uid']."'";
$query = $this->db->query($findEmp);
$row = $query->getResult('array');
if ($row ){
$checkData = $this->APIcall("POST", "http://10.10.10.48:6332/api/verify/employer", json_encode($row));
}
$udata = [
'employer_uid' => $data['employer_uid']