Bug in document right-margin when more than 1 page.
[fa-stable.git] / reporting / rep110.php
index 659a4a490e3774b7f09c1f0bfc38bf7c2ea7b2d5..3ec500381a8cbcacda99bafca85888d4ee3f0810 100644 (file)
@@ -83,7 +83,7 @@ function print_deliveries()
                        $SubTotal = 0;
                        while ($myrow2=db_fetch($result))
                        {
-                               $Net = round(((1 - $myrow2["discount_percent"]) * $myrow2["unit_price"] * $myrow2["quantity"]),
+                               $Net = round2(((1 - $myrow2["discount_percent"]) * $myrow2["unit_price"] * $myrow2["quantity"]),
                                   user_price_dec());
                                $SubTotal += $Net;
                        $DisplayPrice = number_format2($myrow2["unit_price"],$dec);