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: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]

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.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to