X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;ds=sidebyside;f=reporting%2Frep209.php;h=c2c3c0fe58ca988492bcae63f57f59527c4e81ad;hb=7d866f768b8be95c82ab0664721da9ca09c7604f;hp=1f9f5697b921c225c476efccef340934318157d8;hpb=6e2e3dd1f9f269d03ddc68df7f099287c9516587;p=fa-stable.git diff --git a/reporting/rep209.php b/reporting/rep209.php index 1f9f5697..c2c3c0fe 100644 --- a/reporting/rep209.php +++ b/reporting/rep209.php @@ -5,7 +5,7 @@ $page_security = 2; // $ Revision: 2.0 $ // Creator: Joe Hunt // date_: 2005-05-19 -// Title: Print Invoices +// Title: Purchase Orders // ---------------------------------------------------------------- $path_to_root="../"; @@ -61,7 +61,7 @@ function print_po() $from = 0; if ($to == null) $to = 0; - $dec =user_price_dec(); + $dec = user_price_dec(); $cols = array(4, 60, 225, 300, 325, 385, 450, 515); @@ -103,7 +103,8 @@ function print_po() $SubTotal = 0; while ($myrow2=db_fetch($result)) { - $Net = ($myrow2["unit_price"] * $myrow2["quantity_ordered"]); + $Net = round(($myrow2["unit_price"] * $myrow2["quantity_ordered"]), + user_price_dec()); $SubTotal += $Net; $DisplayPrice = number_format2($myrow2["unit_price"],$dec); $DisplayQty = number_format2($myrow2["quantity_ordered"],user_qty_dec());