report changes

This commit is contained in:
gandhimathi 2018-08-22 11:41:55 +05:30
parent 6a4d9facc5
commit 9e8b83b6eb

View File

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