X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=sales%2Fview%2Fview_invoice.php;h=e430b45508f2b3ac1c9728875d6b76e1bd84cc43;hb=b6af4ea4c99734cfd051395289107bbba5a405e9;hp=17900ba267c3c3fa3acbd02eccb23244d4560362;hpb=846ed51734e7b3c8f02efa7d9ca1b8e9865cabf5;p=fa-stable.git diff --git a/sales/view/view_invoice.php b/sales/view/view_invoice.php index 17900ba2..e430b455 100644 --- a/sales/view/view_invoice.php +++ b/sales/view/view_invoice.php @@ -113,7 +113,7 @@ if (db_num_rows($result) > 0) if($myrow2["quantity"]==0) continue; 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;