pc to ppc change in student view
This commit is contained in:
parent
0823463b19
commit
4a96ff5225
@ -262,6 +262,8 @@ class Studentview_model extends CI_Model
|
||||
* created by kms
|
||||
* */
|
||||
public function getStudentFeesDetails($studentID=null,$courseID=null){
|
||||
|
||||
|
||||
$serachArray=[WAIVER,REFERRAL];
|
||||
|
||||
$this->db->distinct();
|
||||
@ -382,7 +384,7 @@ class Studentview_model extends CI_Model
|
||||
* created by kms
|
||||
* */
|
||||
public function getDefaultCourseFees($studentID=null,$courseID=null){
|
||||
$serachArray = ["PC","TC","DC","MC","OTHER"];
|
||||
$serachArray = ["PPC","TC","DC","MC","OTHER"];
|
||||
$this->db->distinct();
|
||||
$this->db->select('SFS.FeesID,SFS.FeesType,SFS.SessionName,SFS.RollNo,ifnull(SFS.CourseFees,0) as CourseFees,ifnull(SFS.STFOrWR,0) as STFOrWR,ifnull(SFS.Waiver,0) as Waiver,ifnull(SFS.Others,0) as Others');
|
||||
$this->db->from(STUDENTS_FEES_STATUS.' as SFS');
|
||||
@ -491,9 +493,12 @@ class Studentview_model extends CI_Model
|
||||
* created by kms
|
||||
* */
|
||||
public function getStudentCertificateDetails($studentID=null,$courseID=null){
|
||||
|
||||
$this->db->select('AS.CertificationNo,AS.AppDate,AS.Comments,CM.CertificateName,PLD.ListName');
|
||||
$this->db->from(APPLICATION_STATUS.' as AS');
|
||||
$this->db->join(CERTIFICATION_MASTER.' as CM','CM.CertificationID = AS.CertificationType');
|
||||
// $this->db->join(CERTIFICATION_MASTER.' as CM','CM.CertificationID = AS.CertificationType');
|
||||
|
||||
$this->db->join(CERTIFICATION_MASTER.' as CM','CM.CertificateName = AS.CertificationType');
|
||||
//$this->db->join(COURSE_FEES.' as CF','CF.ID = AS.CourseID');
|
||||
$this->db->join(COURSE.' as CU', 'CU.CourseID = AS.CourseID');
|
||||
$this->db->join(PICK_LIST_DETAILS.' as PLD', 'PLD.ListCode = AS.ListCode');
|
||||
@ -503,6 +508,8 @@ class Studentview_model extends CI_Model
|
||||
$this->db->order_by('AS.ID', 'DESC');
|
||||
$getCertDetails = $this->db->get();
|
||||
|
||||
// print_r($this->db->last_query());die();
|
||||
|
||||
if($getCertDetails->result()){
|
||||
return $getCertDetails->result();
|
||||
}
|
||||
|
||||
@ -232,7 +232,6 @@
|
||||
<div collapse="panel2" ng-init="panel2=true" class="panel-wrapper">
|
||||
<div class="panel-body">
|
||||
|
||||
|
||||
<tabset class="tabbable">
|
||||
|
||||
<tab heading="Fees Details" id="fees" >
|
||||
|
||||
Loading…
Reference in New Issue
Block a user