diff --git a/Apollo/api/application/controllers/Fees_Status_Controller.php b/Apollo/api/application/controllers/Fees_Status_Controller.php index cc92e222..6cda7fef 100755 --- a/Apollo/api/application/controllers/Fees_Status_Controller.php +++ b/Apollo/api/application/controllers/Fees_Status_Controller.php @@ -39,7 +39,7 @@ class Fees_Status_Controller extends REST_Controller { $this->methods['getUniversityCourseForFees_post']['limit'] = 1000; // 1000 requests per hour per user/key $this->methods['getFeesStructureAssign_post']['limit'] = 1000; // 1000 requests per hour per user/key $this->methods['setFeesForStudent_post']['limit'] = 1000; // 1000 requests per hour per user/key - // $this->methods['sendStudentNotification_post']['limit'] = 2000; // 2000 requests per hour per user/key + // $this->methods['sendStudentNotification_post']['limit'] = 2000; // 2000 requests per hour per user/key // load the model @@ -55,14 +55,14 @@ class Fees_Status_Controller extends REST_Controller { * */ public function getStudentList_post() { - $search['requestedBy'] = $this->post('requestedtBy'); - $search['Firstname'] = $this->post('studentName'); - $search['MobileNumber'] = $this->post('mobileNumber'); - $search['UniversityID'] = $this->post('university'); - $search['CourseID'] = $this->post('course'); - $search['requestedDept'] = $this->post('requestedDept'); + $search['requestedBy'] = $this->post('requestedtBy'); + $search['Firstname'] = $this->post('studentName'); + $search['MobileNumber'] = $this->post('mobileNumber'); + $search['UniversityID'] = $this->post('university'); + $search['CourseID'] = $this->post('course'); + $search['requestedDept'] = $this->post('requestedDept'); $search['requestedBranch'] = $this->post('branchId'); - $getStudentDetails = $this->Fees_model->getStudentList($search); + $getStudentDetails = $this->Fees_model->getStudentList($search); if ($getStudentDetails) { $getStudentDetails['status'] = REST_Controller::HTTP_OK; @@ -121,15 +121,15 @@ class Fees_Status_Controller extends REST_Controller { $now->setTimezone(new DateTimezone('Asia/Kolkata')); /*for track purpose*/ - /* $trackDetails['MobileNumber'] = $this->post('mobileNumber'); - $trackDetails['LeadName'] = $this->post('studentName'); - $trackDetails['University'] = $this->post('university'); - $trackDetails['Course'] = $this->post('course'); - $trackDetails['StatusCode'] = $this->post('statusCode'); - $trackDetails['FollowupOn'] = $now->format('d-m-Y'); - $trackDetails['FollowupComments'] = $this->post('commentsForStudent'); - $trackDetails['CreatedBy'] = $this->post('createdBy'); - $trackDetails['CreatedOn'] = $now->format('Y-m-d H:i:s');*/ + /* $trackDetails['MobileNumber'] = $this->post('mobileNumber'); + $trackDetails['LeadName'] = $this->post('studentName'); + $trackDetails['University'] = $this->post('university'); + $trackDetails['Course'] = $this->post('course'); + $trackDetails['StatusCode'] = $this->post('statusCode'); + $trackDetails['FollowupOn'] = $now->format('d-m-Y'); + $trackDetails['FollowupComments'] = $this->post('commentsForStudent'); + $trackDetails['CreatedBy'] = $this->post('createdBy'); + $trackDetails['CreatedOn'] = $now->format('Y-m-d H:i:s');*/ /*track array end*/ @@ -273,18 +273,18 @@ class Fees_Status_Controller extends REST_Controller { if ($sendMessage) { echo "Success"; - /* $this->response([ - 'message' => 'Done!', - 'status' => REST_Controller::HTTP_OK - ], REST_Controller::HTTP_OK); // NOT_FOUND (404) being the HTTP response code*/ + /* $this->response([ + 'message' => 'Done!', + 'status' => REST_Controller::HTTP_OK + ], REST_Controller::HTTP_OK); // NOT_FOUND (404) being the HTTP response code*/ } else { // Set the response and exit - /* $this->response([ - 'message' => 'No records found!', - 'status' => REST_Controller::HTTP_NOT_FOUND - ], REST_Controller::HTTP_NOT_FOUND); // NOT_FOUND (404) being the HTTP response code*/ + /* $this->response([ + 'message' => 'No records found!', + 'status' => REST_Controller::HTTP_NOT_FOUND + ], REST_Controller::HTTP_NOT_FOUND); // NOT_FOUND (404) being the HTTP response code*/ } }