university fee details upload changes : kdk
This commit is contained in:
parent
3761f070e5
commit
bda44b1bba
@ -346,3 +346,4 @@ $route['getApplicationFormStatusList'] = 'StatusUpdation_Controller/getApplicati
|
|||||||
// update university enrolment and fees details received
|
// update university enrolment and fees details received
|
||||||
$route['receiveEnrolmentFromUniv'] = 'Receive_Enrolment_Fees_Univ_Controller/receiveEnrolmentFromUniv';
|
$route['receiveEnrolmentFromUniv'] = 'Receive_Enrolment_Fees_Univ_Controller/receiveEnrolmentFromUniv';
|
||||||
$route['insertFormIdUnivFeeDetails'] = 'Receive_Enrolment_Fees_Univ_Controller/insertFormIdUnivFeeDetails';
|
$route['insertFormIdUnivFeeDetails'] = 'Receive_Enrolment_Fees_Univ_Controller/insertFormIdUnivFeeDetails';
|
||||||
|
$route['getStudentUnivFeeCompareDetails'] = 'Receive_Enrolment_Fees_Univ_Controller/getStudentUnivFeeCompareDetails';
|
||||||
@ -65,6 +65,10 @@ class Receive_Enrolment_Fees_Univ_Controller extends REST_Controller {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* This method used to add formid related student fee details form university
|
||||||
|
* created by kdk
|
||||||
|
* */
|
||||||
public function insertFormIdUnivFeeDetails_post(){
|
public function insertFormIdUnivFeeDetails_post(){
|
||||||
$formIdDetails = $this->post('details');
|
$formIdDetails = $this->post('details');
|
||||||
$localDetails = $this->post('localDetails');
|
$localDetails = $this->post('localDetails');
|
||||||
@ -86,4 +90,27 @@ class Receive_Enrolment_Fees_Univ_Controller extends REST_Controller {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function getStudentUnivFeeCompareDetails_post(){
|
||||||
|
$searchData = $this->post('search');
|
||||||
|
|
||||||
|
$univID = $searchData['University'];
|
||||||
|
$courseID = $searchData['Course'];
|
||||||
|
|
||||||
|
$getUnivStudentFeeCompare = $this->receive_model->getStudentUnivFeeCompareDetails($univID,$courseID);// Check if the users data store contains users (in case the database result returns NULL)
|
||||||
|
if ($getUnivStudentFeeCompare)
|
||||||
|
{
|
||||||
|
$getUnivStudentFeeCompare['status'] = REST_Controller::HTTP_OK;
|
||||||
|
// Set the response and exit
|
||||||
|
$this->response($getUnivStudentFeeCompare, REST_Controller::HTTP_OK); // OK (200) being the HTTP response code
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
// Set the response and exit
|
||||||
|
$this->response([
|
||||||
|
'message' => 'Something went wrong.please try again!',
|
||||||
|
'status' => REST_Controller::HTTP_NOT_FOUND
|
||||||
|
], REST_Controller::HTTP_NOT_FOUND); // NOT_FOUND (404) being the HTTP response code
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
@ -749,6 +749,22 @@ class Receive_Enrolment_Fees_Univ_model extends CI_Model {
|
|||||||
return 'true';
|
return 'true';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function getStudentUnivFeeCompareDetails($univCode=null,$courseCode=null){
|
||||||
|
// echo $univID, $courseID;exit();
|
||||||
|
|
||||||
|
// $this->db->select('t1.*,t2.EnrolmentNo');
|
||||||
|
// $this->db->from('T_FormId_FeeDetails_Received_From_University as t1');
|
||||||
|
// $this->db->join('T_Enrolment_Received_From_University as t2', 't2.FormID = t1.FormID', 'LEFT');
|
||||||
|
// $this->db->join('T_Student_CourseDetails as t3', 't3.EnrollmentID = t2.EnrolmentNo', 'LEFT');
|
||||||
|
// $this->db->join('T_StudentDetails as t4', 't4.StudentID = t3.StudentID', 'LEFT');
|
||||||
|
// // $this->db->where('t2.CourseCode', $courseID);
|
||||||
|
// // $this->db->where('t2.UniversityCode', $univCode);
|
||||||
|
// $details = $this->db->get();
|
||||||
|
// $detailsList = $details->result();
|
||||||
|
// print_r($detailsList);exit();
|
||||||
|
|
||||||
|
// return "$roleDetails->Sem_Year $roleDetails->CourseName";
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
@ -75,7 +75,7 @@
|
|||||||
<select ui-select2 class="form-control" tabindex="4" class="cs-select cs-skin-elastic" name="course" ng-model="searchData.Course"
|
<select ui-select2 class="form-control" tabindex="4" class="cs-select cs-skin-elastic" name="course" ng-model="searchData.Course"
|
||||||
ng-change="getValueChange()">
|
ng-change="getValueChange()">
|
||||||
<option value="" selected>Select Course</option>
|
<option value="" selected>Select Course</option>
|
||||||
<option ng-repeat="itemCourse in courseData" value="{{itemCourse.CourseID}}">{{itemCourse.CourseName}}<span ng-show="itemCourse.CourseCode != ''">(<strong>{{itemCourse.CourseCode}}</strong>)</span></option>
|
<option ng-repeat="itemCourse in courseData" value="{{itemCourse.CourseCode}}">{{itemCourse.CourseName}}<span ng-show="itemCourse.CourseCode != ''">(<strong>{{itemCourse.CourseCode}}</strong>)</span></option>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user