Fixed redundant $sign in reports Sales Order, Sales Quotation and Purchase Order
authorJoe Hunt <joe.hunt.consulting@gmail.com>
Sat, 20 Jan 2018 11:23:46 +0000 (12:23 +0100)
committerJoe Hunt <joe.hunt.consulting@gmail.com>
Sat, 20 Jan 2018 11:23:46 +0000 (12:23 +0100)
reporting/rep109.php
reporting/rep111.php
reporting/rep209.php

index 739348d4783f9aacd6ffa0334ce1b378482d9ee6..ba6c86ce17d7fdee6c2996d43b0f6b3a121ddb31 100644 (file)
@@ -186,7 +186,7 @@ function print_sales_orders()
                                        if ($first)
                                        {
                                                $rep->TextCol(3, 6, _("Total Tax Excluded"), -2);
-                                               $rep->TextCol(6, 7,     number_format2($sign*$tax_item['net_amount'], $dec), -2);
+                                               $rep->TextCol(6, 7,     number_format2($tax_item['net_amount'], $dec), -2);
                                                $rep->NewLine();
                                        }
                                        $rep->TextCol(3, 6, $tax_type_name, -2);
index cf3e8d20253bad2c05cb000450dda35f3e45df64..1db74b7c8869b2f9b92fdf05de06a89376284179 100644 (file)
@@ -183,7 +183,7 @@ function print_sales_quotations()
                                        if ($first)
                                        {
                                                $rep->TextCol(3, 6, _("Total Tax Excluded"), -2);
-                                               $rep->TextCol(6, 7,     number_format2($sign*$tax_item['net_amount'], $dec), -2);
+                                               $rep->TextCol(6, 7,     number_format2($tax_item['net_amount'], $dec), -2);
                                                $rep->NewLine();
                                        }
                                        $rep->TextCol(3, 6, $tax_type_name, -2);
index 452fddfe49884375101c6c925c9b74e0fe042951..f6fabf31e16a728b2b6e344ba56987bf5c9bca39 100644 (file)
@@ -188,7 +188,7 @@ function print_po()
                                        if ($first)
                                        {
                                                $rep->TextCol(3, 6, _("Total Tax Excluded"), -2);
-                                               $rep->TextCol(6, 7,     number_format2($sign*$tax_item['net_amount'], $dec), -2);
+                                               $rep->TextCol(6, 7,     number_format2($tax_item['net_amount'], $dec), -2);
                                                $rep->NewLine();
                                        }
                                        $rep->TextCol(3, 6, $tax_type_name, -2);