Subversion Repositories SmartDukaan

Rev

Rev 6425 | Rev 6435 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 6425 Rev 6427
Line 575... Line 575...
575
			bankTenure.emiProcessingCharge = opt.chargeValue;
575
			bankTenure.emiProcessingCharge = opt.chargeValue;
576
		} else {
576
		} else {
577
			bankTenure.emiProcessingCharge = Math.ceil((opt.chargeValue * $action.getTotalAmountL())/100);  
577
			bankTenure.emiProcessingCharge = Math.ceil((opt.chargeValue * $action.getTotalAmountL())/100);  
578
		}
578
		}
579
		bankTenure.totalAmount = $action.getTotalAmountL() + bankTenure.emiProcessingCharge;  
579
		bankTenure.totalAmount = $action.getTotalAmountL() + bankTenure.emiProcessingCharge;  
580
		bankTenure.monthlyEmi =  Math.round((bankTenure.totalAmount*100)/opt.tenure)/100;
580
		bankTenure.monthlyEmi =  (Math.round((bankTenure.totalAmount*100)/opt.tenure)/100).toFixed(2);
581
		bank.emis[opt.id] = bankTenure;
581
		bank.emis[opt.id] = bankTenure;
582
	});
582
	});
583
	//This code shall be removed when all banks go live
583
	//This code shall be removed when all banks go live
584
	banks[1].top = -88;
584
	banks[1].top = -88;
585
	banks[2] = {};
585
	banks[2] = {};