course details changes done

This commit is contained in:
gandhimathi 2018-03-07 15:42:19 +05:30
parent 3619d2de97
commit 7dc5f22b63

View File

@ -1529,8 +1529,7 @@ app.controller('feesStatusCtrl', ["$scope","$rootScope","toaster", "$filter", "n
if(pastValue==undefined || pastValue==''){
pastValue=0;
}
if(currentValue!=0 && pastValue!=0){
if(parseInt(present)<=parseInt($scope.setTotalAmount)){
if(parseInt(currentValue)<=parseInt($scope.setTotalAmount)){
if(currentValue<=pastValue){
var diffVal1=parseInt(pastValue)-parseInt(currentValue);
@ -1565,7 +1564,6 @@ app.controller('feesStatusCtrl', ["$scope","$rootScope","toaster", "$filter", "n
}
}
}
}