X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=reporting%2Frep107.php;h=05b28c3fdaf68f85636d1127c7edbbbcd311e328;hb=b6af4ea4c99734cfd051395289107bbba5a405e9;hp=1288e5173e6a0fa90192d049ee7b7c606978bd90;hpb=846ed51734e7b3c8f02efa7d9ca1b8e9865cabf5;p=fa-stable.git diff --git a/reporting/rep107.php b/reporting/rep107.php index 1288e517..05b28c3f 100644 --- a/reporting/rep107.php +++ b/reporting/rep107.php @@ -104,7 +104,7 @@ function print_invoices() $SubTotal = 0; while ($myrow2=db_fetch($result)) { - $Net = round($sign * ((1 - $myrow2["discount_percent"]) * $myrow2["unit_price"] * $myrow2["quantity"]), + $Net = round2($sign * ((1 - $myrow2["discount_percent"]) * $myrow2["unit_price"] * $myrow2["quantity"]), user_price_dec()); $SubTotal += $Net; $DisplayPrice = number_format2($myrow2["unit_price"],$dec);