loan data

This commit is contained in:
CHIEFSOFT\ameye
2024-09-03 17:40:12 -04:00
parent 5d2fc80db8
commit 176edc74d5
2 changed files with 18 additions and 1 deletions
+16
View File
@@ -10,9 +10,25 @@ class AirFlow extends BaseController
$raw_json = file_get_contents('php://input');
$in = json_decode($raw_json, true);
$out =[];
$this->processLoadData();
log_message('critical', "AirFlow::flowNewAccount ********* ALL ".serialize($in) );
return []; //json_encode( $final_out );
}
private function processLoadData(){
$mysql ="SELECT uid,customer_uid,loan_detail
FROM applications
WHERE pc = 0 limit 2";
$query = $this->db->query($mysql);
$row = $query->getRowArray();
foreach ($row as $rw){
log_message('critical', "AirFlow::processLoadData ********* ALL ". $rw["customer_uid"] );
}
return 0;
}
}
+2 -1
View File
@@ -132,7 +132,8 @@ disbursement
$data['email'] != '' &&
$data['address'] != '' &&
$data['state'] != '' &&
$data['country'] != ''
$data['country'] != '' &&
$data['disbursement_account'] != ''
) {
$udata = [
'customer_uid' => $data['customer_uid'],