employer - name

This commit is contained in:
CHIEFSOFT\ameye
2024-06-13 10:38:58 -04:00
parent da091cb935
commit bc5d173a20
+5 -2
View File
@@ -62,9 +62,12 @@ class BkoReports extends BaseController
a.payment_month,a.sales_agent,a.gender, a.payment_month,a.sales_agent,a.gender,
a.marital_status,a.email,a.address, a.marital_status,a.email,a.address,
a.state,a.country,a.status,a.added, a.state,a.country,a.status,a.added,
a.updated a.updated,
e.name AS employer_name
FROM applications a FROM applications a
LEFT JOIN customers c ON c.uid = a.customer_uid WHERE a.status = 2 "); LEFT JOIN customers c ON c.uid::text = a.customer_uid::text
LEFT JOIN employers e ON e.uid::text = a.employer_uid::text
WHERE a.status = 2 ");
$row = $query->getResult('array'); $row = $query->getResult('array');
$data = [ $data = [
'call_return' => '100', 'call_return' => '100',