diff --git a/app/Models/EnquiryModel.php b/app/Models/EnquiryModel.php index 2aa2117..2484ebd 100644 --- a/app/Models/EnquiryModel.php +++ b/app/Models/EnquiryModel.php @@ -38,14 +38,13 @@ class EnquiryModel extends Model public function getEnquiry($getBy = null , $Id = null , $only_policy_data = false, $from_date = null, $to_date = null) { - $data = $this->select('partner_enquiry.*, + $data = $this->select('partner_enquiry.*, partner_enquiry.name as insured_name, VT.vehicle_type as vehicle_type, A.name as agent_name, I.name as insurer_name, S.name as assigned_to_name, Q.id as quotation_id, P.payment_mode, - P.insured_name, P.premium_amount, P.policy_number' )