[Koha-bugs] [Bug 31840] New: Incorrect warning that order total amount exceeds allowed budget when editing existing order

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Oct 17 02:43:58 CEST 2022


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 at lists.koha-community.org
          Reporter: aleisha at catalyst.net.nz
        QA Contact: testopia at 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.


More information about the Koha-bugs mailing list