<br> fix given

This commit is contained in:
gandhimathi Bharathirajan 2017-09-20 16:35:17 +05:30
parent cc50a66b3b
commit 87d50d30c5

View File

@ -419,12 +419,17 @@ function GetPOType($ReqNo)
function getCompanyInformation()
{
$this->db->select('CompanyName,Address,GSTNO,PAN,ContactNumber,EmailAddress,AlternateContactNumber,companyWebsite,StateCode');
$this->db->from('T_Company_Details');
$subQuery = "select CompanyName,replace(Address,'<br>','') as Address,GSTNO,PAN,ContactNumber,EmailAddress,AlternateContactNumber,companyWebsite,StateCode
from T_Company_Details ";
$query = $this->db->get();
return $query->result();
$query = $this->db->query($subQuery);
//print_r($this->db->last_query());
return $query->result();
// return $query->result();
}
/**
* This function is used to get the Employee List