student view changes
This commit is contained in:
parent
819efcf356
commit
bbc97e7271
@ -45,8 +45,10 @@ class StudentView_Controller extends REST_Controller
|
|||||||
{
|
{
|
||||||
$requestedBy = $this->post('requestedBy');
|
$requestedBy = $this->post('requestedBy');
|
||||||
$requestedFrom = $this->post('requestedFrom');
|
$requestedFrom = $this->post('requestedFrom');
|
||||||
|
$requestedBranch = $this->post('branchCode');
|
||||||
|
|
||||||
$studentListDetails = $this->studentview_model->getStudentInfo($requestedBy,$requestedFrom);// Check if the employee exist
|
|
||||||
|
$studentListDetails = $this->studentview_model->getStudentInfo($requestedBy,$requestedFrom,$requestedBranch);// Check if the employee exist
|
||||||
if ($studentListDetails) {
|
if ($studentListDetails) {
|
||||||
$studentListDetails['status'] = REST_Controller::HTTP_OK;
|
$studentListDetails['status'] = REST_Controller::HTTP_OK;
|
||||||
// Set the response and exit
|
// Set the response and exit
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user