IGR ISSUE FIXED on MODEL

This commit is contained in:
gandhimathi 2018-01-04 11:03:47 +00:00
parent e1b1518a2f
commit 374df9d2f1

View File

@ -368,7 +368,7 @@ class Quality_model extends CI_Model
$sql = 'select IGRItemNo from T_IGR_Details
join T_MaterialMaster on T_IGR_Details.MaterialCode = T_MaterialMaster.MaterialCode
where T_IGR_Details.IGRItemNo not in (select igrlineitemno from T_Test_Report_Master where igrno != "") and IGRNO = ? and T_MaterialMaster.Category like "%Raw Material%"';
where IGRNO = ? and T_MaterialMaster.Category like "%Raw Material%"';
$result = $this->db->query($sql,array($igrno));
return $result->result();