diff --git a/Apollo/assets/js/controllers/feesStatusCtrl.js b/Apollo/assets/js/controllers/feesStatusCtrl.js index 07aba3ae..a3a168e0 100755 --- a/Apollo/assets/js/controllers/feesStatusCtrl.js +++ b/Apollo/assets/js/controllers/feesStatusCtrl.js @@ -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 } } } - }