status update
This commit is contained in:
@@ -74,7 +74,15 @@ disbursement
|
|||||||
}
|
}
|
||||||
|
|
||||||
//employer_uid
|
//employer_uid
|
||||||
|
$verified_employer = false;
|
||||||
|
if ( $data['employer_uid'] != '') {
|
||||||
|
$query = $this->db->query("SELECT * FROM employers WHERE uid = '". $data['employer_uid']."' ");
|
||||||
|
$row = $query->getResult('array');
|
||||||
|
if (isset($row))
|
||||||
|
{
|
||||||
|
$verified_employer = true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
$addedData =[];
|
$addedData =[];
|
||||||
if (
|
if (
|
||||||
@@ -102,6 +110,9 @@ disbursement
|
|||||||
'loan_detail' => json_encode($data)
|
'loan_detail' => json_encode($data)
|
||||||
];
|
];
|
||||||
|
|
||||||
|
if( $verified_employer == true ){
|
||||||
|
$udata['status'] = 2;
|
||||||
|
}
|
||||||
$addedData = $this->insert_db('applications', $udata);
|
$addedData = $this->insert_db('applications', $udata);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user