Fixed a Shipping bug in Sales Order Report
authorJoe Hunt <joe.hunt.consulting@gmail.com>
Sat, 20 Jan 2018 00:53:22 +0000 (01:53 +0100)
committerJoe Hunt <joe.hunt.consulting@gmail.com>
Sat, 20 Jan 2018 00:53:22 +0000 (01:53 +0100)
reporting/rep110.php

index 18ed866a00bc685143e356e4ff079d3c60a4608b..cc0f1c10b18b0ff01cdd43661820fd93e9f81cf6 100644 (file)
@@ -158,7 +158,7 @@ function print_deliveries()
                                $rep->NewLine();
                                if ($myrow['ov_freight'] != 0.0)
                                {
-                                       $DisplayFreight = number_format2($sign*$myrow["ov_freight"],$dec);
+                                       $DisplayFreight = number_format2($myrow["ov_freight"],$dec);
                                        $rep->TextCol(3, 6, _("Shipping"), -2);
                                        $rep->TextCol(6, 7,     $DisplayFreight, -2);
                                        $rep->NewLine();