GWM : ---
This commit is contained in:
parent
f8287b7ee4
commit
38dd58bfbd
@ -133,7 +133,7 @@ class EnquiryController extends ResourceController
|
||||
if($value['status'] == 'Accepted') { $quotationId = $value['id']; }
|
||||
}
|
||||
|
||||
$policies = $this->PolicyModel->select('partner_policy.*, pe.reg_no, I.name as insurer_name, pq.insured_declared_value, ipti.insurance_plan_type, PB.name as broker_name')
|
||||
$policies = $this->PolicyModel->select('partner_policy.*, pe.reg_no, I.name as insurer_name, pq.insured_declared_value, ipti.insurance_plan_type, pe.broker_id , PB.name as broker_name')
|
||||
->join('partner_enquiry pe', 'pe.id = partner_policy.enquiry_id', 'left')
|
||||
->join('partner_quotation pq', 'pq.id = partner_policy.quotation_id', 'left')
|
||||
->join('insurers I', 'I.id = pq.insurer_id', 'left')
|
||||
|
||||
Loading…
Reference in New Issue
Block a user