added firstname

This commit is contained in:
CHIEFSOFT\ameye
2025-01-13 21:18:03 -05:00
parent 339710c94e
commit a95288f673
+1 -1
View File
@@ -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"] );