| Summary: | Check amount allocated to child funds when editing amount on parent fund | ||
|---|---|---|---|
| Product: | Koha | Reporter: | Nuño López Ansótegui <nunyo.lopez> |
| Component: | Acquisitions | Assignee: | Bugs List <koha-bugs> |
| Status: | NEW --- | QA Contact: | Bugs List <koha-bugs> |
| Severity: | normal | ||
| Priority: | P5 - low | CC: | mathsabypro |
| Version: | Main | ||
| Hardware: | All | ||
| OS: | All | ||
| GIT URL: | Initiative type: | --- | |
| Sponsorship status: | --- | Comma delimited list of Sponsors: | |
| Crowdfunding goal: | 0 | Patch complexity: | --- |
| Documentation contact: | Documentation submission: | ||
| Text to go in the release notes: | Version(s) released in: | ||
| Circulation function: | |||
| Attachments: | Image | ||
Almost completely fixed - the only thing I can reprodocue is 3.1: It's possible to edit a parent fund to be below the amount allocated to the child. You can still set a parent fund to a lower total amount than its child fund. This bug still exists: 1) Create a child fund to an existing fund 2) Set the amount to something equal or lower than the parent fund 3) Edit parent fund, set it to a lower value than the child fund => You can save 4) Edit the child fund again => You can no longer save, as the amount exceed the amount of the parent fund I think we check upwards, but we also need to check downwards. |
Created attachment 3496 [details] Image There are various problems: 1. When you create a budget, you can set an end date prior to the start date. 2. I can´t create funds children greater than the fund, but I can edit the children and make them bigger than the fund. 3. I can cut the fund budget but is lower than that of a child. After this, I can increase the child budget even above the total budget. And then I can also create new children over the fund budget but not above the total budget.