- Issue created by @kyoder
- Merge request !4Check for active status before validating child credit max amount → (Open) created by kyoder
The validation that prevents child credit amount from being greater than the parent credit amount does not check whether the credit is active.
This can be a problem if a credit type and its child have default max amount values where the child amount is greater than the parent. Even if the credit isn’t enabled on the course, the validation will be triggered. It could also be a problem if the credit type had been active but then an admin decided to de-activate it without blanking out the max amount fields.
STR:
Active
2.0
Code