[Koha-bugs] [Bug 28627] Revert the order receive page to display 'Actual cost' as ecost_tax_included/ecost_tax_excluded if unitprice not set

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Nov 12 18:29:53 CET 2021


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

Nick Clemens <nick at bywatersolutions.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |nick at bywatersolutions.com

--- Comment #5 from Nick Clemens <nick at bywatersolutions.com> ---
(In reply to Alex Buckley from comment #1)
> Created attachment 122380 [details] [review]
> Bug 28627: Fallback to displaying ecost_tax_included, ecost_tax_excluded in
> orderreceive.pl

I think the logic here is was backward
IF (order.unitprice_tax_included == 0.00000) THEN order.unitprice_tax_included 
ELSE order.ecost_tax_included

I submitted an alternate

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


More information about the Koha-bugs mailing list