report changes

This commit is contained in:
gandhimathi 2018-08-21 20:23:19 +05:30
parent d936c49ce0
commit d9936a4e27

View File

@ -71,7 +71,20 @@ app.controller('report_study_material_statusCtrl', ["$scope", "$filter","$rootSc
} else {
}
});
}
}
/* watch university model for bind batch objects*/
$scope.$watch('univModel.university', function (newValue,oldValue) {
if(newValue==undefined || newValue==''){
$scope.filterBatchDetails="";
}
else{
if(angular.isString(newValue)){
$scope.filterBatchDetails=angular.fromJson(newValue);
}
}
});
$scope.show = false;