web-app icon indicating copy to clipboard operation
web-app copied to clipboard

WEB-232: Reset overAppliedCalculationType and overAppliedNumber fields when 'Allow approval / disbursal above loan applied amount' is unchecked

Open mariiaKraievska opened this issue 6 months ago • 0 comments

Description

Problem that was solved:

Pre-condition: progressive loan, horizontal, 360/30, interest recalculation, multidisbursal loan that doesn’t expect tranches(with enabled 'Disallow expected tranches' setting)

  • 'Allow approval / disbursal above loan applied amount' setting enabled with calculation type and amount: percentage, 50

Steps to reproduce: 1 - create loan product according configuration

2 - modify it with:

disabled 'Allow approval / disbursal above loan applied amount' setting on loan product level

and disable 'Enable Multiple Disbursals' loan setting

Expected result: loan product is modified with disabled 'Allow approval / disbursal above loan applied amount' setting and disabled 'Enable Multiple Disbursals' loan setting

Actual result: 400 error is shown with message "Allow Approved / Disbursed Amounts Over Applied is Not Set - Over Applied Calculation Type Can't Be Entered"

Related issues and discussion

#{WEB-232}

Screenshots, if any

Checklist

Please make sure these boxes are checked before submitting your pull request - thanks!

  • [x] If you have multiple commits please combine them into one commit by squashing them.

  • [x] Read and understood the contribution guidelines at web-app/.github/CONTRIBUTING.md.

mariiaKraievska avatar Jun 25 '25 12:06 mariiaKraievska