diff --git a/application/models/batchcard_model.php b/application/models/batchcard_model.php index 5cce4c7c..8a1d499b 100755 --- a/application/models/batchcard_model.php +++ b/application/models/batchcard_model.php @@ -595,7 +595,7 @@ class batchcard_model extends CI_Model function getinvoice_products() { - $this->db->select('product_id,product_name'); + $this->db->select('product_id,product_name,product_description'); $this->db->from('ip_products'); $supp = $this->db->get(); return $supp->result(); diff --git a/application/views/FinalProduct.php b/application/views/FinalProduct.php index eb9c4ecf..4efdeda0 100644 --- a/application/views/FinalProduct.php +++ b/application/views/FinalProduct.php @@ -114,7 +114,7 @@ $(function() { foreach ($inv_final_product as $SID): - $options2[$SID->product_id] = $SID->product_id.' '.' - '.' '.$SID->product_name; + $options2[$SID->product_id] = $SID->product_id.' '.' - '.' '.$SID->product_name.' '.' ('.' '.$SID->product_description.')'; endforeach; }