Skip to content

Conversation

the-bokya
Copy link
Collaborator

@the-bokya the-bokya commented Feb 14, 2025

Add checkbox in Loan Product to configure whether to round off (ceil, actually) monthly repayments or not.

image

Before the option is checked:
image

After:
image

Resolves #31

Edit: This started out as a minor fix to the repayment amount in response to #31, but is now far bigger in scope as previously all repayment schedules used the PMT formula and, as a result, the monthly repayment amount came out to be somewhat incorrect.
This PR also attempts to use one single function to calculate interest amounts everywhere.

@the-bokya the-bokya marked this pull request as draft February 14, 2025 12:36
@the-bokya the-bokya marked this pull request as ready for review February 14, 2025 15:10
@the-bokya the-bokya marked this pull request as draft February 17, 2025 05:32
@the-bokya the-bokya changed the title Optional rounding off of repayment amount in repayment schedule Repayment schedule rewrite (exact monthly repayments for repay over fixed number of periods) + optional rounding off of repayment amount in repayment schedule Feb 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants