Skip to content

Commit

Permalink
#49 Fix 360/365 fin year issue on history page
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergii Dmytrenko authored and Sergii Dmytrenko committed May 31, 2021
1 parent d175677 commit 174b341
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Callculator/Views/Deposit/Index.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@
var amount = Number(document.getElementById('amount').value);
var days = Number(document.getElementById('term').value);
var percent = Number(document.getElementById('percent').value);
var year = document.querySelector('#finYear input').checked ? 365 : 360;
var year = document.querySelector('#finYear input').checked ? 360 : 365;
var interest = document.getElementById('interest').value;
var income = document.getElementById('income').value;
var endDate = document.getElementById('endDate').value;
Expand Down

0 comments on commit 174b341

Please sign in to comment.