Adam Saghy created FINERACT-2522:
------------------------------------
Summary: Max disb amount isn't validated in case multidisb loan
that expect tranches with overapplied setting enabled
Key: FINERACT-2522
URL: https://issues.apache.org/jira/browse/FINERACT-2522
Project: Apache Fineract
Issue Type: Bug
Reporter: Adam Saghy
Pre-condition: progressive loan, horizontal, 360/30, interest recalculation,
*multidisbursal* progressive loan \{*}that expects tranches{*}(with disabled
'Disallow expected tranches' setting);
* *'Allow approval / disbursal above loan applied amount' setting enabled*
with calculation type and amount: percentage, 50;
*Scenario 1:*
*Steps to reproduce:*
- create loan with principal - 1000 and 2 expected tranches: 100 on Jan, 1; 200
on Jan, 2;
- approve loan - with amount 1000(or, for example 1200);
- try to disburse 1500 on Jan, 1
*Expected result:*
error indicating exceed max disb amount shall be shown, 1300 shall be max
allowed in such case
*Actual result:*
disbursement with amount 1500 is processed, with no error
*Scenario 2:*
*Steps to reproduce:*
* create loan with principal - 1000 and 2 expected tranches: 100 on Jan, 1;
200 on Jan, 2;
* approve loan - with amount 1000(or, for example 1200);
* make 1st disbursement 1100 on Jan, 1;
* try to make 2nd disb with amount 600; 700; 800;
*Expected result:*
error indicating exceed max disb amount shall be shown, 400 shall be max
allowed in such case
*Actual result:*
disbursement with amount 600; 700; 800 is processed, with no error
--
This message was sent by Atlassian Jira
(v8.20.10#820010)