report changes
This commit is contained in:
parent
d9936a4e27
commit
7a9173a82f
@ -2,7 +2,6 @@
|
|||||||
/*** controller***/
|
/*** controller***/
|
||||||
app.controller('report_markcard_statusCtrl', ["$scope", "$filter","$rootScope", "API_POINTS", "$http", "SweetAlert", "$state", 'md5', 'ipCookie', '$window',"dateListDescService","$modal",
|
app.controller('report_markcard_statusCtrl', ["$scope", "$filter","$rootScope", "API_POINTS", "$http", "SweetAlert", "$state", 'md5', 'ipCookie', '$window',"dateListDescService","$modal",
|
||||||
function ($scope, $filter,$rootScope, apiPoint, $http, SweetAlert, $state, md5, ipCookie, $window, dateListDescService,$modal,$log) {
|
function ($scope, $filter,$rootScope, apiPoint, $http, SweetAlert, $state, md5, ipCookie, $window, dateListDescService,$modal,$log) {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* auto call tracking
|
* auto call tracking
|
||||||
*/
|
*/
|
||||||
@ -47,7 +46,7 @@ app.controller('report_markcard_statusCtrl', ["$scope", "$filter","$rootScope",
|
|||||||
};
|
};
|
||||||
|
|
||||||
$scope.filters = function () {
|
$scope.filters = function () {
|
||||||
var filterlist = {
|
var filterlist = {
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
url: apiPoint.url + 'report_filters/',
|
url: apiPoint.url + 'report_filters/',
|
||||||
headers: {
|
headers: {
|
||||||
@ -82,6 +81,19 @@ app.controller('report_markcard_statusCtrl', ["$scope", "$filter","$rootScope",
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
/* 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;
|
$scope.show = false;
|
||||||
$scope.onSubmit = function (form) {
|
$scope.onSubmit = function (form) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user