student details changes:kdk
This commit is contained in:
parent
a7a3c03836
commit
809fc79cac
@ -250,7 +250,7 @@ class Student_Controller extends REST_Controller {
|
||||
public function getListofStuPendingDocDetails_post() {
|
||||
$StudentID = $this->post('exceptId');
|
||||
$localdata = $this->post('localData');
|
||||
$studentPendingDocDetails = $this->student_model->getStudent_PendingDoc_Details($StudentID);
|
||||
$studentPendingDocDetails = $this->student_model->getStudent_PendingDoc_Details($StudentID, $localdata );
|
||||
if ($studentPendingDocDetails) {
|
||||
$studentPendingDocDetails['status'] = REST_Controller::HTTP_OK;
|
||||
// Set the response and exit
|
||||
|
||||
@ -774,7 +774,8 @@ class Student_model extends CI_Model {
|
||||
}
|
||||
}
|
||||
|
||||
public function getStudent_PendingDoc_Details($stuID) {
|
||||
public function getStudent_PendingDoc_Details($stuID, $localData) {
|
||||
$localBranch = localData['localBranchID'];
|
||||
$this->db->select('*');
|
||||
$this->db->order_by('CreatedOn', 'DESC');
|
||||
$this->db->from(STUDENTDOCUMENTTRACKDETAILS);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user