Questions or want to claim this? Say hi in the community chat: https://t.me/+DOylgFv1jyJlNzM0
Description
The schedule total subtracts total interest rather than adding it, so the amount presented as due omits all interest.
Component: Backend
Location: backend/src/controllers/loanController.ts -> buildAmortizationSchedule
Severity: Critical
How to reproduce / find it
Build a schedule and compare total due against principal plus interest.
Expected behavior
Total due should be principal plus total interest.
Notes for contributors
This is a logic/behavior defect, not a compile error. Please open one PR per fix that references this issue and names the file and function above.
Description
The schedule total subtracts total interest rather than adding it, so the amount presented as due omits all interest.
Component: Backend
Location:
backend/src/controllers/loanController.ts->buildAmortizationScheduleSeverity: Critical
How to reproduce / find it
Build a schedule and compare total due against principal plus interest.
Expected behavior
Total due should be principal plus total interest.
Notes for contributors
This is a logic/behavior defect, not a compile error. Please open one PR per fix that references this issue and names the file and function above.