[Koha-bugs] [Bug 35114] Total on basketgroup can be different than basket details total

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Jan 31 15:54:28 CET 2024


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

Thibaud Guillot <thibaud.guillot at biblibre.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #161066|0                           |1
        is obsolete|                            |

--- Comment #8 from Thibaud Guillot <thibaud.guillot at biblibre.com> ---
Created attachment 161691
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=161691&action=edit
Bug 35114: Fix calculation around basketgroup and basket details

Test plan:

1) I purpose a simple way to test it with new fresh data. First of all
go to one of your vendor and set a discount of 9%. Then create a new
basket, add to basket a new line from an empty record.
Set a vendor price to 15.90 and just add this order

2) Configure the basket.pl table to show all columns, see budgeted cost
and actual cost (exc or inc). There is already a difference of one cent.

3) Let's take a look at the  basket groups now, for this, close this
basket. Go on tab menu and select basket group. Click on new basket
group. Normally you will see the new basket created on step 1. The total
here is 14.47.. and when you check on basket detail it's 14.46 cause
this total (from basket groups) comes from ecost exc. while total line
on basket detail comes from actual cost exc.

4) Apply this patch and see changes

Sponsored-by: BibLibre

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


More information about the Koha-bugs mailing list