changes for file upload js,html and api
This commit is contained in:
parent
8510bcabf0
commit
bf228ea52f
@ -203,7 +203,6 @@ app.controller('student_university_fee_compareCtrl', ["$scope", "toaster", "$fil
|
||||
}
|
||||
|
||||
$scope.receiveEnrolmentDetails = function (details,uploadForDetails) {
|
||||
|
||||
var updateUniversityEnrolment = {
|
||||
method: 'POST',
|
||||
url: apiPoint.url + 'receiveEnrolmentFromUniv/',
|
||||
@ -213,14 +212,14 @@ app.controller('student_university_fee_compareCtrl', ["$scope", "toaster", "$fil
|
||||
data: {
|
||||
localDetails: localDetail,
|
||||
details: details,
|
||||
universityID: uploadForDetails.UniversityID,
|
||||
universityName: uploadForDetails.UniversityName,
|
||||
universityID: angular.fromJson(uploadForDetails.university).UniversityID,
|
||||
universityName: angular.fromJson(uploadForDetails.university).UniversityName,
|
||||
|
||||
}
|
||||
};
|
||||
|
||||
$http(updateUniversityEnrolment).then(function (response) {
|
||||
if (response.data.branchListStatus == true) {
|
||||
if (response.data.status == true) {
|
||||
swal("", "Updated Successfully", "success");
|
||||
} else {
|
||||
swal("", "Failed", "error");
|
||||
|
||||
Loading…
Reference in New Issue
Block a user