course details changes done

This commit is contained in:
gandhimathi 2018-01-29 19:37:48 +05:30
parent bd0827222e
commit c0d607eac0

View File

@ -505,8 +505,8 @@ class StatusUpdation_model extends CI_Model
// get student details
$this->db->select('PLD.ListCode');
$this->db->from(PICK_LIST_DETAILS.' as PLD');
$this->db->like('PLD.ListName','ISSUED');
$this->db->like('PLD.ListCode',$fromDetails[0]['ListCode']);
$this->db->where('PLD.ListName','ISSUED');
$this->db->where('PLD.ListCode',$fromDetails[0]['ListCode']);
$this->db->where('PLD.IsActive','1');
$checkStatus=$this->db->get()->last_row();
if($checkStatus){
@ -669,8 +669,8 @@ class StatusUpdation_model extends CI_Model
// get student details
$this->db->select('PLD.ListCode');
$this->db->from(PICK_LIST_DETAILS.' as PLD');
$this->db->like('PLD.ListName','PENDING');
$this->db->like('PLD.ListCode',$fromDetails[0]['ListCode']);
$this->db->where('PLD.ListName','PENDING');
$this->db->where('PLD.ListCode',$fromDetails[0]['ListCode']);
$this->db->where('PLD.IsActive','1');
$checkStatus=$this->db->get()->last_row();
if($checkStatus){