adamsaghy commented on code in PR #6264:
URL: https://github.com/apache/fineract/pull/6264#discussion_r3842199109
##########
fineract-working-capital-loan/src/main/java/org/apache/fineract/portfolio/workingcapitalloan/calc/ProjectedAmortizationScheduleModel.java:
##########
@@ -78,6 +78,9 @@ public final class ProjectedAmortizationScheduleModel {
*/
public static final int MAX_CALCULABLE_TOTAL_DAYS = 100_000;
+ /** Compounding periods a daily EIR is raised over to express it annually.
*/
+ private static final int ANNUALIZATION_DAYS = 365;
Review Comment:
This hardcoded value seems incorrect:
npvDayCount from Loan product should be used.
NPV day count and number of days to calculate annual eir must be the same
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]