employer - name
This commit is contained in:
@@ -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',
|
||||||
|
|||||||
Reference in New Issue
Block a user