[Koha-bugs] [Bug 35114] Calculation around basket details and basketgroup not correct

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Mar 5 01:57:43 CET 2024


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

Myka Kennedy Stephens <mkstephens at fosgail.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mkstephens at fosgail.org

--- Comment #16 from Myka Kennedy Stephens <mkstephens at fosgail.org> ---
Hello. I'm not clearly seeing the issue that this bug attempts to address, so
it is difficult to determine if the patch is doing what it is supposed to.

To replicate the issue, I did the following (according to the proposed test
plan):
1. Created a new vendor with a 9% discount
2. Created a new basket, added an item from a new record
  - No other details except Koha item type entered for the item
  - Under accounting details, I entered a vendor price of $15.90
  - At this point, the auto calculated budgeted cost and total show $14.46
3. Save item and return to basket table. All columns in table for budgeted cost
and total tax show $14.47
  - The only way I can see the 1 cent difference is if I attempt to modify the
item order details and return to the previous screen (neworderempty.pl)
4. When creating and viewing a basket group, I only see $14.47 as the cost

When I applied the patch, the auto calculated cost in the accounting details on
neworderempty.pl still showed $14.46 while the basket tables all show $14.47.

Where I did find $14.46 listed was when I created an invoice and attempted to
receive the shipment. On the pending orders table in parcel.pl, the unit cost
and order cost show up as $14.46. When you click the link to receive, the
accounting details on the right side of the pop-up show $14.47 as the budgeted
cost. Applying the patch did not change this behavior.

I hope these notes are helpful!

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


More information about the Koha-bugs mailing list