[Koha-bugs] [Bug 18736] Problems in order calculations (rounding errors)

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Oct 5 09:03:09 CEST 2018


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

Marcel de Rooy <m.de.rooy at rijksmuseum.nl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|BLOCKED                     |Failed QA

--- Comment #125 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
QA Comment:
Kind of walking in a minefield here. So very brave try! Think we are doing fine
and we have the pref to control it.
One area did not have attention yet:

C4/Budgets.pm needs similar adjustments:
Look at e.g. SUM( COALESCE(unitprice_tax_included, ecost_tax_included) *
quantity ) AS budget_spent
or SUM(ecost_tax_included *  quantity) AS budget_ordered

With the pref to nearest cent, the total ordered drops one cent, while it
should drop three cent (using your example where 78,83 becomes 78,80).

Another note:
I still have the Internal Server Error:
Undefined subroutine &C4::Acquisition::IsMarcStructureInternal called at
/usr/share/koha/devclone/C4/Acquisition.pm line 3211.
I added the C4::Biblio prefix here to resolve it. Please check if you need it
too.

Changing status.

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


More information about the Koha-bugs mailing list