[Koha-bugs] [Bug 23523] Unitprice tax column values are not populated if entered upon ordering

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Oct 14 22:55:15 CEST 2019


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

Katrin Fischer <katrin.fischer at bsz-bw.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Signed Off                  |Failed QA

--- Comment #6 from Katrin Fischer <katrin.fischer at bsz-bw.de> ---
I am not sure about these fallbacks in the code - can you please explain?

+            # we should use the unitprice if included
+            my $cost_tax_included = $order->{unitprice_tax_included} ||
$order->{ecost_tax_included};
+            my $cost_tax_excluded = $order->{unitprice_tax_excluded} ||
$order->{ecost_tax_excluded};
+            $order->{tax_value_on_ordering} = (
get_rounded_price($cost_tax_included) - get_rounded_price($cost_tax_excluded) )
* $order->{quantity};

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


More information about the Koha-bugs mailing list