report changes

This commit is contained in:
gandhimathi 2018-08-22 11:41:34 +05:30
parent 9b5b877adb
commit 283e6b62fd

View File

@ -97,6 +97,7 @@ app.controller('report_ans_bookletCtrl', ["$scope", "$filter","$rootScope","$mod
});
$scope.show = false;
$scope.onSubmit = function (form) {
$scope.filterUniv = angular.fromJson($scope.univModel.university);
var firstError = null;
if (form.$invalid) {
var field = null, firstError = null;
@ -124,7 +125,7 @@ app.controller('report_ans_bookletCtrl', ["$scope", "$filter","$rootScope","$mod
},
data: {
branch: JSON.parse(localStorage.getItem('localObj')).localBranchID,
university: $scope.univModel.university.universityID,
university: $scope.filterUniv.universityID,
batch: $scope.univModel.batch
}