student details updation

This commit is contained in:
resicovenba 2017-11-30 11:01:37 +05:30
parent db528a9eff
commit 4e365b597e
4 changed files with 6 additions and 8 deletions

View File

@ -270,8 +270,6 @@ class Student_Controller extends REST_Controller {
$date = date('Y-m-d H:i:s');
$reqCourse['CreatedOn'] = $date;
// print_r($reqCourse);exit();
$studentAddCourse = $this->student_model->add_student_course( $addStudent , $reqCourse);// Check if the employee exist
if ($studentAddCourse)
{
@ -321,7 +319,7 @@ class Student_Controller extends REST_Controller {
$req['ReferersMobileNumber'] = $data['referredmobilenumber'];
$req['PreQualification'] = $data['prequalification'];
$req['IsActive'] = $data['switchsetting'];
$req['CreatedBranch'] = $createdBranch;
$req['BranchCode'] = $createdBranch;
$req['CreatedBy'] = $createdBy;
$date = date('Y-m-d H:i:s');

View File

@ -63,7 +63,7 @@ class Student_model extends CI_Model
$this->db->select('*');
$this->db->from(STUDENTS);
$this->db->order_by('CreatedOn', 'DESC');
$this->db->where('CreatedBranch', $loginUserBranchId);
$this->db->where('BranchCode', $loginUserBranchId);
$stuDetails = $this->db->get();
$checkArr = $stuDetails->result();
if (count($checkArr) > 0) {
@ -77,7 +77,7 @@ class Student_model extends CI_Model
$this->db->select('*');
$this->db->from(STUDENTS);
$this->db->order_by('CreatedOn', 'DESC');
$this->db->where('CreatedBranch', $loginUserBranchId);
$this->db->where('BranchCode', $loginUserBranchId);
$stuDetails = $this->db->get();
$checkArr = $stuDetails->result();
if (count($checkArr) > 0) {

View File

@ -68,7 +68,7 @@
"ANNOUNCEMENT": "ANNOUNCEMENT DETAILS"
},
"student": {
"MAIN": "STUDENTS DETAILS",
"MAIN": "MANAGE STUDENTS",
"LISTING": "STUDENTS LISTING",
"ENROLLMENT": "STUDENT ENROLLMENT",
"STUDENTDETAILS": "STUDENT DETAILS"

View File

@ -474,12 +474,12 @@
Date of Joining <span class="symbol required"></span>
</label>
<style>
.dropdown-menu {
.dropdown-menu {
position: relative;
/*top: -225px !important;*/
}
</style>
<input type="text" tabindex="28" class="form-control" ng-click="startOpen = !startOpen" datepicker-popup="dd-MM-yyyy" ng-model="myModelCourse.dateofjoining"
<input type="text" tabindex="28" class="form-control" ng-click="startOpen = !startOpen" datepicker-popup="dd-MM-yyyy" ng-model="myModelCourse.dateofjoining"
is-open="startOpen" ng-init="startOpen = false" name="dateofjoining" datepicker-options="dateOptions"
placeholder="Select Date of Joining" close-text="Close" required="required" datepicker-position="top"/>