[Koha-bugs] [Bug 27585] New: Adding multiple items doesn't update total cost

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Feb 1 19:04:09 CET 2021


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27585

            Bug ID: 27585
           Summary: Adding multiple items doesn't update total cost
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Acquisitions
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: caroline.cyr-la-rose at inlibro.com
        QA Contact: testopia at bugs.koha-community.org

I noticed that when adding multiple items to an order (using the 'Add multiple
items' button), the total cost (budgeted cost*quantity) is not updated.

1) In Acquisitions, search for a vendor
2) Click 'New basket'
3) Give a name to the basket
4) Make sure 'Create items when' is set to 'placing an order'
5) Click 'Save'
6) Click 'Add to basket' to add an order to the basket (I use from existing
record)
7) Click 'Add item' at the end of the item form <-- Notice the quantity is now
1
8) Enter a vendor price, e.g. 12.95 <-- Notice the total (budgeted
cost*quantity) is now 12.95
9) Click 'Add item' at the end of the item form again <-- Notice the quantity
is now 2 and the total is now 25.90
10) Click 'Add multiple items' at the end of the item form 
11) Enter a quantity, e.g. 8, and click 'Add' <-- Notice the quantity is now 10
BUT the total stayed at 25.90

The total should be updated to 129.50.

When saving the order, the total cost is correct. So it's really just a display
problem.

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.


More information about the Koha-bugs mailing list