Negative principal on loan accounts with small amount

Description

It's possible to have an installment with negative principal on loan accounts with small amount.

Reproduction case:
Loan of amount = 7,
no of installments = 10,
no of digits after decimal = 0.

Such scenarios should be validated during loan creation.

Environment

None

Assignee

Unassigned

Reporter

Michal Wisniewski

Labels

Implementation Priority

None

URL

None

Team

Core

Scheduled For

None

productboard URL

None

Time tracking

9h

Fix versions

Affects versions

Priority

Minor
Configure