Fixed print of taxes on documents
[fa-stable.git] / reporting / rep109.php
index 845d0ac746301e19fb1643c60e8380e068b9f91b..c775bb907769c08b2e787a57e7816e7d4af0cc72 100644 (file)
@@ -166,6 +166,8 @@ function print_sales_orders()
                $first = true;
                foreach($tax_items as $tax_item)
                {
+                       if ($tax_item['amount'] == 0)
+                               continue;
                        $DisplayTax = number_format2($tax_item['Value'], $dec);
 
                        if (isset($suppress_tax_rates) && $suppress_tax_rates == 1)