pop up msg changes : kdk
This commit is contained in:
parent
9aeb587cc8
commit
b22f1c1c30
@ -513,7 +513,7 @@ class Student_model extends CI_Model
|
|||||||
}
|
}
|
||||||
}else{
|
}else{
|
||||||
$result['addStuCourseStatus'] = false;
|
$result['addStuCourseStatus'] = false;
|
||||||
$result['message'] = "Cannot able create a New Cource for a Student, in In-Active Branch";
|
$result['message'] = "New Cource Cannot able to create for In-Active Branch";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -615,7 +615,7 @@ class Student_model extends CI_Model
|
|||||||
}
|
}
|
||||||
}else {
|
}else {
|
||||||
$result['addStudentStatus'] = false;
|
$result['addStudentStatus'] = false;
|
||||||
$result['message'] = "Please, Cannot able create a new Student for In-Active Branch";
|
$result['message'] = "New Student cannot able to create for In-Active Branch";
|
||||||
|
|
||||||
}
|
}
|
||||||
return $result;
|
return $result;
|
||||||
|
|||||||
@ -985,14 +985,14 @@ $scope.studentListLength = 0;
|
|||||||
$http.post(apiPoint.url + 'updateStudentImgDetails/', formData, {
|
$http.post(apiPoint.url + 'updateStudentImgDetails/', formData, {
|
||||||
transformRequest: angular.identity,
|
transformRequest: angular.identity,
|
||||||
headers: { 'Content-Type': undefined, 'Process-Data': false },
|
headers: { 'Content-Type': undefined, 'Process-Data': false },
|
||||||
}).success(function (data) {
|
}).success(function (response) {
|
||||||
if (data.updateStuStatus === true) {
|
if (response.data.updateStuStatus === true) {
|
||||||
swal(" ","Updated successfully." , "success");
|
swal(" ","Updated successfully." , "success");
|
||||||
$scope.getStudentList();
|
$scope.getStudentList();
|
||||||
$scope.editId = -1;
|
$scope.editId = -1;
|
||||||
} else {
|
} else {
|
||||||
// $scope.ldloading1[loading.replace('-', '_')] = false;
|
// $scope.ldloading1[loading.replace('-', '_')] = false;
|
||||||
swal(" ", data.message, "error");
|
swal(" ", response.data.message, "error");
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
@ -1833,7 +1833,7 @@ $scope.myUnivSearch = "";
|
|||||||
};
|
};
|
||||||
$http(checkReq).then(function (response) {
|
$http(checkReq).then(function (response) {
|
||||||
if (response.data.existMobile == true) {
|
if (response.data.existMobile == true) {
|
||||||
swal("Warning!", response.data.message, "warning");
|
// swal("Warning!", response.data.message, "warning");
|
||||||
p.MobileNumber = response.data.resetValue.MobileNumber;
|
p.MobileNumber = response.data.resetValue.MobileNumber;
|
||||||
} else {
|
} else {
|
||||||
}
|
}
|
||||||
@ -1940,14 +1940,15 @@ $scope.myUnivSearch = "";
|
|||||||
updatedBy: localDetails.localUserID,
|
updatedBy: localDetails.localUserID,
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
$http(req).then(function (data) {
|
$http(req).then(function (response) {
|
||||||
if (data.updateStuStatus === true) {
|
if (response.data.updateStuStatus === true) {
|
||||||
swal("", "Updated successfully.", "success");
|
swal("", "Updated successfully.", "success");
|
||||||
$scope.getStudentList();
|
$scope.getStudentList();
|
||||||
$scope.editId = -1;
|
$scope.editId = -1;
|
||||||
} else {
|
} else {
|
||||||
// $scope.ldloading1[loading.replace('-', '_')] = false;
|
// $scope.ldloading1[loading.replace('-', '_')] = false;
|
||||||
swal("", data.message, "error");
|
// alert(response.data.message);
|
||||||
|
swal("", response.data.message, "error");
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
@ -1961,14 +1962,15 @@ $scope.myUnivSearch = "";
|
|||||||
$http.post(apiPoint.url + 'updateStudentImgDetails/', formData, {
|
$http.post(apiPoint.url + 'updateStudentImgDetails/', formData, {
|
||||||
transformRequest: angular.identity,
|
transformRequest: angular.identity,
|
||||||
headers: { 'Content-Type': undefined, 'Process-Data': false },
|
headers: { 'Content-Type': undefined, 'Process-Data': false },
|
||||||
}).success(function (data) {
|
}).success(function (response) {
|
||||||
if (data.updateStuStatus === true) {
|
if (response.data.updateStuStatus === true) {
|
||||||
swal("", "Updated successfully.", "success");
|
swal("", "Updated successfully.", "success");
|
||||||
$scope.getStudentList();
|
$scope.getStudentList();
|
||||||
$scope.editId = -1;
|
$scope.editId = -1;
|
||||||
} else {
|
} else {
|
||||||
// $scope.ldloading1[loading.replace('-', '_')] = false;
|
// $scope.ldloading1[loading.replace('-', '_')] = false;
|
||||||
swal("", data.message, "error");
|
// swal("", data.message, "error");
|
||||||
|
swal("", response.data.message, "error");
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user