http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13324

Francois Charbonnier <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |francois.charbonnier@inlibr
                   |                            |o.com

--- Comment #3 from Francois Charbonnier <[email protected]> ---
I tested this patch on BibLibre's sanbox 17.

I used 4 different setups for the vendors :

Set up 1 = List prices INCLUDE TAX + Invoice prices INCLUDE TAX
Set up 2 = List prices EXCLUDE TAX + Invoice prices EXCLUDE TAX
Set up 3 = List prices INCLUDE TAX + Invoice prices EXCLUDE TAX
Set up 4 = List prices EXCLUDE TAX + Invoice prices INCLUDE TAX

Then I set up 8 different funds to test the calculation on the fund level and
on the child fund level.

Under each vendor, I added two baskets. Each with 1 order which would use one
of the 8 funds I created.

Vendor 1 = List prices INCLUDE TAX + Invoice prices INCLUDE TAX
- basket 1 with order on a level 1 fund
- basket 2 with order on a level 2 fund

Vendor 2 = List prices EXCLUDE TAX + Invoice prices EXCLUDE TAX
- basket 1 with order on a level 1 fund
- basket 2 with order on a level 2 fund

Vendor 3 = List prices INCLUDE TAX + Invoice prices EXCLUDE TAX
- basket 1 with order on a level 1 fund
- basket 2 with order on a level 2 fund

Vendor 4 = List prices EXCLUDE TAX + Invoice prices INCLUDE TAX
- basket 1 with order on a level 1 fund
- basket 2 with order on a level 2 fund


After ordering and receiving each order, I checked the funds levels on two
pages :
* aqbudgets.pl (admnistration)
* acqui-home.pl (acquisition's home page)

Each time, the calculation were good. Except for one, which is not linked to
the calculation itself but on the approxination.

For the vendor 3 (List prices INCLUDE TAX + Invoice prices EXCLUDE TAX) :
I ordered two 10euros book. The price is taxe included. So I should paid
20euros

When I received the books, the price is taxe excluded. The approximation is on
two numbers which, in the end, lead the total cost to be 19.99 euros tax
included where I expected 20 euros.

For sure, it's not much, probably acceptable but I would like to know if there
is an easy fix. What about managing more digits after the coma in the database
and display just two?

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://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