course fees changes

This commit is contained in:
gandhimathi 2018-06-22 14:37:44 +05:30
parent 350be8fe2e
commit 74d5f467ab

View File

@ -1150,7 +1150,7 @@ class Fees_status_model extends CI_Model
* created by kms
* */
public function setFees($details=null,$jsonData=null){
$this->db->select('FeesID');
$this->db->where('CourseID', $details['CourseID']);
$this->db->where('StudentID', $details['StudentID']);
@ -1158,6 +1158,7 @@ class Fees_status_model extends CI_Model
$checkExist=$this->db->get(STUDENTS_FEES_STATUS);
if($checkExist->result()){
$feesId = $checkExist->result();
$updateDetails['CourseFees'] = $details['CourseFees'];
$updateDetails['SessionName'] = $details['SessionName'];
$updateDetails['ToSessionName'] = $details['ToSessionName'];
$updateDetails['BatchCode'] = $details['BatchCode'];