Merged changes in main trunk up to 2.0.6 (see CHANGELOG)
[fa-stable.git] / sales / view / view_credit.php
index f220fca140512116bcd29f3f7af4c1d8fe935855..05e73eb0f1f7549810301279d357b577ada190b5 100644 (file)
@@ -90,7 +90,7 @@ if (db_num_rows($result) > 0)
 
                alt_table_row_color($k);
 
-               $value = round(((1 - $myrow2["discount_percent"]) * $myrow2["unit_price"] * $myrow2["quantity"]),
+               $value = round2(((1 - $myrow2["discount_percent"]) * $myrow2["unit_price"] * $myrow2["quantity"]),
                   user_price_dec());
                $sub_total += $value;