https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31840 Bug ID: 31840 Summary: Incorrect warning that order total amount exceeds allowed budget when editing existing order Change sponsored?: --- Product: Koha Version: 22.05 Hardware: All OS: All Status: NEW Severity: minor Priority: P5 - low Component: Acquisitions Assignee: koha-bugs@lists.koha-community.org Reporter: aleisha@catalyst.net.nz QA Contact: testopia@bugs.koha-community.org We've noticed that we're getting a warning that the order total amount exceeds the allowed budget when we shouldn't be. To reproduce: 1. Add an active budget of $1,000 2. Attach a fund of $900 3. In Acquisitions, add an order to a basket, give it a vendor price of $500 with no discount and Save 4. Modify the order and change the vendor price to $450. Save the order 5. Notice the warning that we'll exceed the allowed budget, even though this is the only order using this fund and it does not exceed $900. Koha does a weird 500+450 calculation and thinks we've now ordered more than $900 but it is not considering that we've modified an existing order. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.