course details changes done
This commit is contained in:
parent
6fbe2bae97
commit
2cd8de31b1
@ -666,6 +666,15 @@ class StatusUpdation_model extends CI_Model
|
|||||||
* */
|
* */
|
||||||
public function updateDocumentStatusInCallTrack($fromDetails=null,$reqDetails=null){
|
public function updateDocumentStatusInCallTrack($fromDetails=null,$reqDetails=null){
|
||||||
|
|
||||||
|
|
||||||
|
// check certificate type
|
||||||
|
$this->db->select('CFM.CertificationID');
|
||||||
|
$this->db->from(CERTIFICATION_MASTER.' as CFM');
|
||||||
|
$this->db->where('CFM.CertificateName','APPLICATION');
|
||||||
|
$this->db->where('CFM.CertificationID',$fromDetails[0]['CertificationType']);
|
||||||
|
$this->db->where('CFM.IsActive','1');
|
||||||
|
$checkApplicationStatus=$this->db->get()->last_row();
|
||||||
|
if($checkApplicationStatus){
|
||||||
// get student details
|
// get student details
|
||||||
$this->db->select('PLD.ListCode');
|
$this->db->select('PLD.ListCode');
|
||||||
$this->db->from(PICK_LIST_DETAILS.' as PLD');
|
$this->db->from(PICK_LIST_DETAILS.' as PLD');
|
||||||
@ -709,7 +718,7 @@ class StatusUpdation_model extends CI_Model
|
|||||||
|
|
||||||
// create activity in call tracking
|
// create activity in call tracking
|
||||||
$this->db->select('ActivityID,ActivityName');
|
$this->db->select('ActivityID,ActivityName');
|
||||||
$this->db->like('ActivityName', 'Document', 'after');
|
$this->db->like('ActivityName', 'Application', 'after');
|
||||||
$this->db->where('IsActive', '1');
|
$this->db->where('IsActive', '1');
|
||||||
$activityDetails=$this->db->get(ACTIVITY)->last_row();
|
$activityDetails=$this->db->get(ACTIVITY)->last_row();
|
||||||
if($activityDetails){
|
if($activityDetails){
|
||||||
@ -823,6 +832,11 @@ class StatusUpdation_model extends CI_Model
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
else{
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* get student info
|
* get student info
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user