fees changes

This commit is contained in:
gandhimathi 2018-03-08 11:17:08 +05:30
parent d995d3d817
commit 85c736a25e

View File

@ -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;
}