course details changes done
This commit is contained in:
parent
9ae6e50116
commit
62e5a5b4d0
@ -622,12 +622,21 @@ class Fees_status_model extends CI_Model
|
|||||||
* */
|
* */
|
||||||
public function getCourseDetails($universityID=null)
|
public function getCourseDetails($universityID=null)
|
||||||
{
|
{
|
||||||
$this->db->select('CourseID,CourseName');
|
$this->db->select('CourseID,CourseName,CourseCode');
|
||||||
$this->db->where('UniversityID',$universityID);
|
$this->db->where('UniversityID',$universityID);
|
||||||
$this->db->where('IsActive','1');
|
$this->db->where('IsActive','1');
|
||||||
$this->db->order_by('CourseID','ASC');
|
$this->db->order_by('CourseID','ASC');
|
||||||
$courseDetails = $this->db->get(COURSE);
|
$courseDetails = $this->db->get(COURSE);
|
||||||
return $courseDetails->result();
|
$courseArray=array();
|
||||||
|
if($courseDetails->result()){
|
||||||
|
foreach ($courseDetails->result() as $row){
|
||||||
|
$getDet['CourseID']=$row->CourseID;
|
||||||
|
$getDet['CourseName']=$row->CourseName.'('.$row->CourseCode.')';
|
||||||
|
array_push($courseArray,$getDet);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
return $courseArray;
|
||||||
}
|
}
|
||||||
/*
|
/*
|
||||||
* get fees details assign for student
|
* get fees details assign for student
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user