fix(installments): correct last-row rounding in recalculate action
The last pending row was absorbing full rounding relative to
(pendingCount-1), but the plan may have 30 paid rows already.
Now computes the pending interest pool (total - paid interest),
distributes flat per row, and absorbs only the pending rounding
on the final pending row.
Co-Authored-By:
Claude Sonnet 4.6 <noreply@anthropic.com>
Showing
Please register or sign in to comment