course details changes done

This commit is contained in:
gandhimathi 2018-02-22 19:25:56 +05:30
parent 3cea8ac869
commit 1a5c2467ba

View File

@ -1246,6 +1246,26 @@ app.controller('feesStatusCtrl', ["$scope","$rootScope","toaster", "$filter", "n
}
/* $scope.$watch('updateMoreItems', function (newValue, oldValue) {
for (var i = 0; i < newValue.length; i++) {
if (newValue[i].Amount != oldValue[i].Amount) {
if(newValue[i].Amount>oldValue[i].Amount){
var currentValue = parseInt(newValue[i].Amount)-oldValue[i].Amount;
}
else{
var currentValue = oldValue[i].Amount-parseInt(newValue[i].Amount);
}
}
//bla-bla-bla
}
}, true);*/
}]);