-
Notifications
You must be signed in to change notification settings - Fork 12
Description
-
Version of the plugin : 1.7.0
-
Version of your GLPI : 9.5.4
-
Steps to reproduce (which actions have you made) :
- Create a new Budget into "Root Entity", with the value of "1076" and period of 01-March-2021 up to 31-March-2021.
- Create a new Budge into "Root Entity > São Leopoldo" (sub entity), with the value of "786" and period of 01-March-2021 up to 31-March-2021.
- Error "The sub-entities budget amount exceed the parent budget" is thrown, but the Amount of subentity isn't higher than Root entity.
- Expected result :
Budget from sub entity should be added succesfully.
- Actual result :
Budget from sub entity isn't added successfully.
- URL of the page :
https://glpi.example.com/plugins/printercounters/front/budget.form.php
- Screenshot of the problem (if pertinent) :
See above.
- Additional information :
A workaround for this issue is adding first the budgets from subentities and just only after adding them add the budget from Root entity.
But I'm not sure if the situation from screenshot below is happening because of that:
But I believe that the Printer Counters plugin should group Budgets from dates as a subitem of the corresponding Root entity budget date together, but it isn't happening - Budgets from "March" and "February" is shown inside "February" budget. Instead, "March" budget from subentities should be shown below "March" budget from Root entity.


