PHP 7.X produces A non-numeric value encountered in \includes\date_functions.inc...
[fa-stable.git] / reporting / rep209.php
index 0e83fc0103da5d532dc00cbe2cfe9f0532976c2e..f6fabf31e16a728b2b6e344ba56987bf5c9bca39 100644 (file)
@@ -156,7 +156,7 @@ function print_po()
                if ($myrow['comments'] != "")
                {
                        $rep->NewLine();
-                       $rep->TextColLines(1, 5, $myrow['comments'], -2);
+                       $rep->TextColLines(1, 4, $myrow['comments'], -2);
                }
                $DisplaySubTot = number_format2($SubTotal,$dec);
 
@@ -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);