student details updation
This commit is contained in:
parent
db528a9eff
commit
4e365b597e
@ -270,8 +270,6 @@ class Student_Controller extends REST_Controller {
|
|||||||
$date = date('Y-m-d H:i:s');
|
$date = date('Y-m-d H:i:s');
|
||||||
$reqCourse['CreatedOn'] = $date;
|
$reqCourse['CreatedOn'] = $date;
|
||||||
// print_r($reqCourse);exit();
|
// print_r($reqCourse);exit();
|
||||||
|
|
||||||
|
|
||||||
$studentAddCourse = $this->student_model->add_student_course( $addStudent , $reqCourse);// Check if the employee exist
|
$studentAddCourse = $this->student_model->add_student_course( $addStudent , $reqCourse);// Check if the employee exist
|
||||||
if ($studentAddCourse)
|
if ($studentAddCourse)
|
||||||
{
|
{
|
||||||
@ -321,7 +319,7 @@ class Student_Controller extends REST_Controller {
|
|||||||
$req['ReferersMobileNumber'] = $data['referredmobilenumber'];
|
$req['ReferersMobileNumber'] = $data['referredmobilenumber'];
|
||||||
$req['PreQualification'] = $data['prequalification'];
|
$req['PreQualification'] = $data['prequalification'];
|
||||||
$req['IsActive'] = $data['switchsetting'];
|
$req['IsActive'] = $data['switchsetting'];
|
||||||
$req['CreatedBranch'] = $createdBranch;
|
$req['BranchCode'] = $createdBranch;
|
||||||
|
|
||||||
$req['CreatedBy'] = $createdBy;
|
$req['CreatedBy'] = $createdBy;
|
||||||
$date = date('Y-m-d H:i:s');
|
$date = date('Y-m-d H:i:s');
|
||||||
|
|||||||
@ -63,7 +63,7 @@ class Student_model extends CI_Model
|
|||||||
$this->db->select('*');
|
$this->db->select('*');
|
||||||
$this->db->from(STUDENTS);
|
$this->db->from(STUDENTS);
|
||||||
$this->db->order_by('CreatedOn', 'DESC');
|
$this->db->order_by('CreatedOn', 'DESC');
|
||||||
$this->db->where('CreatedBranch', $loginUserBranchId);
|
$this->db->where('BranchCode', $loginUserBranchId);
|
||||||
$stuDetails = $this->db->get();
|
$stuDetails = $this->db->get();
|
||||||
$checkArr = $stuDetails->result();
|
$checkArr = $stuDetails->result();
|
||||||
if (count($checkArr) > 0) {
|
if (count($checkArr) > 0) {
|
||||||
@ -77,7 +77,7 @@ class Student_model extends CI_Model
|
|||||||
$this->db->select('*');
|
$this->db->select('*');
|
||||||
$this->db->from(STUDENTS);
|
$this->db->from(STUDENTS);
|
||||||
$this->db->order_by('CreatedOn', 'DESC');
|
$this->db->order_by('CreatedOn', 'DESC');
|
||||||
$this->db->where('CreatedBranch', $loginUserBranchId);
|
$this->db->where('BranchCode', $loginUserBranchId);
|
||||||
$stuDetails = $this->db->get();
|
$stuDetails = $this->db->get();
|
||||||
$checkArr = $stuDetails->result();
|
$checkArr = $stuDetails->result();
|
||||||
if (count($checkArr) > 0) {
|
if (count($checkArr) > 0) {
|
||||||
|
|||||||
@ -68,7 +68,7 @@
|
|||||||
"ANNOUNCEMENT": "ANNOUNCEMENT DETAILS"
|
"ANNOUNCEMENT": "ANNOUNCEMENT DETAILS"
|
||||||
},
|
},
|
||||||
"student": {
|
"student": {
|
||||||
"MAIN": "STUDENTS DETAILS",
|
"MAIN": "MANAGE STUDENTS",
|
||||||
"LISTING": "STUDENTS LISTING",
|
"LISTING": "STUDENTS LISTING",
|
||||||
"ENROLLMENT": "STUDENT ENROLLMENT",
|
"ENROLLMENT": "STUDENT ENROLLMENT",
|
||||||
"STUDENTDETAILS": "STUDENT DETAILS"
|
"STUDENTDETAILS": "STUDENT DETAILS"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user