1596
This commit is contained in:
commit
bb01bc8a27
@ -99,6 +99,8 @@ class SessionMaster_Controller extends REST_Controller {
|
|||||||
$details['UpdatedBy'] = $this->post('updatedBy');
|
$details['UpdatedBy'] = $this->post('updatedBy');
|
||||||
$details['UpdatedOn'] = $now->format("Y-m-d H:i:s");
|
$details['UpdatedOn'] = $now->format("Y-m-d H:i:s");
|
||||||
$details['BranchCode'] = $this->post('branchCode');
|
$details['BranchCode'] = $this->post('branchCode');
|
||||||
|
|
||||||
|
// echo $details['BranchCode'];die();
|
||||||
$updateDetails = $this->sessionM_model->updateSession($details,$universityDetails);// Check if the users data store contains users (in case the database result returns NULL)
|
$updateDetails = $this->sessionM_model->updateSession($details,$universityDetails);// Check if the users data store contains users (in case the database result returns NULL)
|
||||||
|
|
||||||
if ($updateDetails)
|
if ($updateDetails)
|
||||||
|
|||||||
@ -2177,18 +2177,18 @@ $REGID='';
|
|||||||
public function deleteSetFees($details=null){
|
public function deleteSetFees($details=null){
|
||||||
$this->db->where('FeesID', $details['FeesID']);
|
$this->db->where('FeesID', $details['FeesID']);
|
||||||
$this->db->delete(FEES_INSTALLMENT);
|
$this->db->delete(FEES_INSTALLMENT);
|
||||||
if ($this->db->affected_rows() >= '1') {
|
// if ($this->db->affected_rows() >= '1') {
|
||||||
$this->db->where('FeesID', $details['FeesID']);
|
$this->db->where('FeesID', $details['FeesID']);
|
||||||
$this->db->delete(STUDENTS_FEES_STATUS);
|
$this->db->delete(STUDENTS_FEES_STATUS);
|
||||||
$result['deleteStatus']=true;
|
$result['deleteStatus']=true;
|
||||||
$result['message']="Successfully Fees Details Deleted";
|
$result['message']="Successfully Fees Details Deleted";
|
||||||
|
|
||||||
}
|
// }
|
||||||
else{
|
// else{
|
||||||
$result['deleteStatus']=false;
|
// $result['deleteStatus']=false;
|
||||||
$result['message']="Something went wrong.please try again";
|
// $result['message']="Something went wrong.please try again";
|
||||||
}
|
// }
|
||||||
// print_r($this->db->last_query());die();
|
//print_r($this->db->last_query());die();
|
||||||
return $result;
|
return $result;
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -94,6 +94,9 @@ class Reregister_model extends CI_Model
|
|||||||
$data['studentListOne'] = $res->result();
|
$data['studentListOne'] = $res->result();
|
||||||
//print_r($data['studentListOne']);
|
//print_r($data['studentListOne']);
|
||||||
$data['finalStudentList'] = array();
|
$data['finalStudentList'] = array();
|
||||||
|
|
||||||
|
|
||||||
|
//print_r($this->db->last_query());die();
|
||||||
foreach($data['studentListOne'] as $student)
|
foreach($data['studentListOne'] as $student)
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|||||||
@ -136,6 +136,7 @@ class SessionMaster_model extends CI_Model {
|
|||||||
$existStatusUpdate['IsActive']=true;
|
$existStatusUpdate['IsActive']=true;
|
||||||
$existStatusUpdate['UpdatedBy']=$arrayDetails['UpdatedBy'];
|
$existStatusUpdate['UpdatedBy']=$arrayDetails['UpdatedBy'];
|
||||||
$existStatusUpdate['UpdatedOn']=$arrayDetails['UpdatedOn'];
|
$existStatusUpdate['UpdatedOn']=$arrayDetails['UpdatedOn'];
|
||||||
|
$existStatusUpdate['BranchID']=$arrayDetails['BranchCode'];
|
||||||
$this->db->where('SessionID',$arrayDetails['SessionID']);
|
$this->db->where('SessionID',$arrayDetails['SessionID']);
|
||||||
$this->db->where('UniversityID',$urow);
|
$this->db->where('UniversityID',$urow);
|
||||||
$this->db->update(SESSIONDETAILS, $existStatusUpdate);
|
$this->db->update(SESSIONDETAILS, $existStatusUpdate);
|
||||||
@ -146,6 +147,7 @@ class SessionMaster_model extends CI_Model {
|
|||||||
$update_array["IsActive"]=true;
|
$update_array["IsActive"]=true;
|
||||||
$update_array["CreatedBy"]=$arrayDetails['UpdatedBy'];
|
$update_array["CreatedBy"]=$arrayDetails['UpdatedBy'];
|
||||||
$update_array["CreatedOn"]=$arrayDetails['UpdatedOn'];
|
$update_array["CreatedOn"]=$arrayDetails['UpdatedOn'];
|
||||||
|
$update_array['BranchID']=$arrayDetails['BranchCode'];
|
||||||
$this->db->insert(SESSIONDETAILS, $update_array);
|
$this->db->insert(SESSIONDETAILS, $update_array);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1565,7 +1565,28 @@ if(count($qry)>0)
|
|||||||
|
|
||||||
//echo $Enrollment ;
|
//echo $Enrollment ;
|
||||||
|
|
||||||
//print_r($reqArr);die();
|
// print_r($reqArr);die();
|
||||||
|
|
||||||
|
|
||||||
|
if($reqArr['IsActive'] == 0)
|
||||||
|
{
|
||||||
|
$this->db->select('*');
|
||||||
|
$this->db->from('T_Students_Fees_Status');
|
||||||
|
$this->db->where('StudentID',$reqArr['StudentID']);
|
||||||
|
$this->db->where('CourseID',$reqArr['CourseID']);
|
||||||
|
|
||||||
|
$qry=$this->db->get();
|
||||||
|
$qry=$qry->result();
|
||||||
|
|
||||||
|
if(count($qry)>0)
|
||||||
|
{
|
||||||
|
|
||||||
|
$result['StudentStatus'] = false;
|
||||||
|
$result['message'] = "Fees Satus are active";
|
||||||
|
return $result;
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
if($Enrollment !='')
|
if($Enrollment !='')
|
||||||
@ -1618,6 +1639,8 @@ if(count($qry)>0)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
return $result;
|
return $result;
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
//get login branch employee list
|
//get login branch employee list
|
||||||
|
|||||||
@ -2501,6 +2501,8 @@ $scope.getPhoneNoHistoy = function(studentId)
|
|||||||
$scope.courseEditLoading = false;
|
$scope.courseEditLoading = false;
|
||||||
$scope.studentCourseList = response.data.course_details;
|
$scope.studentCourseList = response.data.course_details;
|
||||||
// $scope.stucour = $scope.studentCourse[0];
|
// $scope.stucour = $scope.studentCourse[0];
|
||||||
|
|
||||||
|
console.log($scope.studentCourseList);
|
||||||
} else {
|
} else {
|
||||||
$scope.courselist = false;
|
$scope.courselist = false;
|
||||||
$scope.courseEditLoading='';
|
$scope.courseEditLoading='';
|
||||||
@ -2634,6 +2636,8 @@ $scope.getPhoneNoHistoy = function(studentId)
|
|||||||
|
|
||||||
// update sutdent course details
|
// update sutdent course details
|
||||||
$scope.updateStudentCourseDetails = function (form, datas, hidedoj) {
|
$scope.updateStudentCourseDetails = function (form, datas, hidedoj) {
|
||||||
|
|
||||||
|
//alert('in');return false;
|
||||||
if (form.$invalid) {
|
if (form.$invalid) {
|
||||||
var field = null, firstError = null;
|
var field = null, firstError = null;
|
||||||
for (field in form) {
|
for (field in form) {
|
||||||
|
|||||||
@ -61,11 +61,11 @@
|
|||||||
<table style="height: 105px; width: 100%;border-collapse: collapse;" >
|
<table style="height: 105px; width: 100%;border-collapse: collapse;" >
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<td style="width: 28.0547%;">Name of the Cadidate:</td>
|
<td style="width: 28.0547%;">Name of the Candidate:</td>
|
||||||
<td style="width: 68.9453%; border-bottom: 1px dotted;">{{Course.Firstname}} {{Course.Lastname}}</td>
|
<td style="width: 68.9453%; border-bottom: 1px dotted;">{{Course.Firstname}} {{Course.Lastname}}</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td style="width: 28.0547%;">Father's Nmae:</td>
|
<td style="width: 28.0547%;">Father's Name:</td>
|
||||||
<td style="width: 68.9453%; border-bottom: 1px dotted;">{{Course.Fathername}}</td>
|
<td style="width: 68.9453%; border-bottom: 1px dotted;">{{Course.Fathername}}</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
|
|||||||
@ -169,7 +169,7 @@
|
|||||||
|
|
||||||
<span class="error text-small block" ng-if="Form.dateofjoining.$dirty && Form.dateofjoining.$error.required">Date of Joining is required</span>
|
<span class="error text-small block" ng-if="Form.dateofjoining.$dirty && Form.dateofjoining.$error.required">Date of Joining is required</span>
|
||||||
</div>
|
</div>
|
||||||
<div ng-hide="stucour.Fee_paid_exist == 1 && localUserType == 'R002'">
|
<div ng-hide="stucour.Fee_paid_exist == 1 && localUserType == 'R002'" ng-if="localUserType == 'R003' || localUserType == 'R004'">
|
||||||
<div class="col-md-4" >
|
<div class="col-md-4" >
|
||||||
<label>
|
<label>
|
||||||
Active/De-Active
|
Active/De-Active
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user