From 734e5df8dfeb272c349e9b9d52ef1bdd4bc55d1b Mon Sep 17 00:00:00 2001 From: Marcel de Rooy Date: Fri, 13 Oct 2017 09:03:25 +0200 Subject: [PATCH] Bug 19296: (QA follow-up) Correct comment in populate_orders Just replacing a wrong - by a correct + sign in the comment. The code itself is fine. Signed-off-by: Marcel de Rooy Signed-off-by: Jonathan Druart (cherry picked from commit 08357845c3db3b68990e655de3364bc0f4649fc1) Signed-off-by: Fridolin Somers --- C4/Acquisition.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C4/Acquisition.pm b/C4/Acquisition.pm index cff2e53013..61028f023b 100644 --- a/C4/Acquisition.pm +++ b/C4/Acquisition.pm @@ -2908,7 +2908,7 @@ sub populate_order_with_prices { # ecost tax excluded = rrp tax excluded * ( 1 - discount ) $order->{ecost_tax_excluded} = $order->{rrp_tax_excluded} * ( 1 - $discount ); - # ecost tax included = rrp tax excluded * ( 1 - tax rate ) * ( 1 - discount ) + # ecost tax included = rrp tax excluded * ( 1 + tax rate ) * ( 1 - discount ) $order->{ecost_tax_included} = $order->{rrp_tax_excluded} * ( 1 + $order->{tax_rate_on_ordering} ) * -- 2.39.5