diff --git a/application/models/purchaseorder_model.php b/application/models/purchaseorder_model.php index 553ca987..0a639cc0 100755 --- a/application/models/purchaseorder_model.php +++ b/application/models/purchaseorder_model.php @@ -431,6 +431,26 @@ function GetPOType($ReqNo) return $query->result(); // return $query->result(); } + /** + * This function is used to get the Company information from T_Company_Details table + * @return array $result : This is result of the query + */ + function getCompanyInformationforPDF() + { + + $subQuery = "select CompanyName,Address,GSTNO,PAN,ContactNumber,EmailAddress,AlternateContactNumber,companyWebsite,StateCode + from T_Company_Details "; + + + + $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 * @return array $result : This is result of the query