@@ -, +, @@ ecost_tax_included/ecost_tax_excluded --- C4/Acquisition.pm | 1 + acqui/basket.pl | 2 ++ 2 files changed, 3 insertions(+) --- a/C4/Acquisition.pm +++ a/C4/Acquisition.pm @@ -2883,6 +2883,7 @@ sub populate_order_with_prices { if ( $bookseller->listincgst ) { # The user entered the prices tax included + $order->{unitprice} = 0 if $order->{unitprice} == '0.00'; $order->{unitprice_tax_included} = $order->{unitprice}; $order->{rrp_tax_included} = $order->{rrp}; --- a/acqui/basket.pl +++ a/acqui/basket.pl @@ -459,6 +459,8 @@ sub get_order_infos { $line{budget_name} = $budget->{budget_name}; # If we have an actual cost that should be the total, otherwise use the ecost + $line{unitprice_tax_included} = 0 if $line{unitprice_tax_included} == '0.00'; + $line{unitprice_tax_excluded} = 0 if $line{unitprice_tax_excluded} == '0.00'; my $cost_tax_included = $line{unitprice_tax_included} || $line{ecost_tax_included}; my $cost_tax_excluded = $line{unitprice_tax_excluded} || $line{ecost_tax_excluded}; $line{total_tax_included} = get_rounded_price($cost_tax_included) * $line{quantity}; --