From 85c736a25ef5cd0717acf026c6176f6b55b028b5 Mon Sep 17 00:00:00 2001 From: gandhimathi Date: Thu, 8 Mar 2018 11:17:08 +0530 Subject: [PATCH] fees changes --- Apollo/assets/js/controllers/feesStatusCtrl.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Apollo/assets/js/controllers/feesStatusCtrl.js b/Apollo/assets/js/controllers/feesStatusCtrl.js index a3a168e0..78fb3383 100755 --- a/Apollo/assets/js/controllers/feesStatusCtrl.js +++ b/Apollo/assets/js/controllers/feesStatusCtrl.js @@ -1164,7 +1164,7 @@ app.controller('feesStatusCtrl', ["$scope","$rootScope","toaster", "$filter", "n else if ((startPayableAmt > 10000) && (startPayableAmt <= 20000)) { fineAmt1 = 600; } - else if (startPayableAmt > 30000) { + else if (startPayableAmt > 20000) { fineAmt1 = 900; } @@ -1331,6 +1331,7 @@ app.controller('feesStatusCtrl', ["$scope","$rootScope","toaster", "$filter", "n } else if(exDatenew1 > exBatchDate && existLoop==0){ + exitPayAmt=parseInt(exitPayAmt)-parseInt(existTotAmt); var dayDiff = exDatenew1.diff(exBatchDate, 'days'); @@ -1341,6 +1342,7 @@ app.controller('feesStatusCtrl', ["$scope","$rootScope","toaster", "$filter", "n var countDays = 0; for (var k = 1; k <= dayDiff; k++) { + if (k <= 90) { if (exitPayAmt <= 10000) { @@ -1350,7 +1352,7 @@ app.controller('feesStatusCtrl', ["$scope","$rootScope","toaster", "$filter", "n else if ((exitPayAmt > 10000) && (exitPayAmt <= 20000)) { fineAmt1 = 600; } - else if (exitPayAmt > 30000) { + else if (exitPayAmt > 20000) { fineAmt1 = 900; }