added firstname
This commit is contained in:
@@ -204,7 +204,7 @@ disbursement
|
||||
public function loanOffer(){
|
||||
$data = $this->request->getPost();
|
||||
|
||||
$mysql ="SELECT * FROM applications WHERE uid='". $data["application_uid"]."' ";
|
||||
$mysql ="SELECT a.*, c.firstname FROM applications a LEFT JOIN customers c ON c.uid = a.customer_uid WHERE a.uid='". $data["application_uid"]."' ";
|
||||
$query = $this->db->query($mysql);
|
||||
$row = $query->getRowArray();
|
||||
log_message('error', "Send Offer Application ". $data["application_uid"] );
|
||||
|
||||
Reference in New Issue
Block a user