pop up msg changes : kdk

This commit is contained in:
resicovenba 2018-02-10 11:10:54 +05:30
parent 9aeb587cc8
commit b22f1c1c30
2 changed files with 14 additions and 12 deletions

View File

@ -513,7 +513,7 @@ class Student_model extends CI_Model
}
}else{
$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 {
$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;

View File

@ -985,14 +985,14 @@ $scope.studentListLength = 0;
$http.post(apiPoint.url + 'updateStudentImgDetails/', formData, {
transformRequest: angular.identity,
headers: { 'Content-Type': undefined, 'Process-Data': false },
}).success(function (data) {
if (data.updateStuStatus === true) {
}).success(function (response) {
if (response.data.updateStuStatus === true) {
swal(" ","Updated successfully." , "success");
$scope.getStudentList();
$scope.editId = -1;
} else {
// $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) {
if (response.data.existMobile == true) {
swal("Warning!", response.data.message, "warning");
// swal("Warning!", response.data.message, "warning");
p.MobileNumber = response.data.resetValue.MobileNumber;
} else {
}
@ -1940,14 +1940,15 @@ $scope.myUnivSearch = "";
updatedBy: localDetails.localUserID,
}
};
$http(req).then(function (data) {
if (data.updateStuStatus === true) {
$http(req).then(function (response) {
if (response.data.updateStuStatus === true) {
swal("", "Updated successfully.", "success");
$scope.getStudentList();
$scope.editId = -1;
} else {
// $scope.ldloading1[loading.replace('-', '_')] = false;
swal("", data.message, "error");
// alert(response.data.message);
swal("", response.data.message, "error");
}
});
} else {
@ -1961,14 +1962,15 @@ $scope.myUnivSearch = "";
$http.post(apiPoint.url + 'updateStudentImgDetails/', formData, {
transformRequest: angular.identity,
headers: { 'Content-Type': undefined, 'Process-Data': false },
}).success(function (data) {
if (data.updateStuStatus === true) {
}).success(function (response) {
if (response.data.updateStuStatus === true) {
swal("", "Updated successfully.", "success");
$scope.getStudentList();
$scope.editId = -1;
} else {
// $scope.ldloading1[loading.replace('-', '_')] = false;
swal("", data.message, "error");
// swal("", data.message, "error");
swal("", response.data.message, "error");
}
});
}