X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=sales%2Fview%2Fview_credit.php;h=0ddf27f496c10148c710131b35a7f6e6b4b58658;hb=2d1dd90519889016d984813c98ad44a7e5d58325;hp=f220fca140512116bcd29f3f7af4c1d8fe935855;hpb=99730b8d6deb7e81d2f1ebeb2ce7066d27729485;p=fa-stable.git diff --git a/sales/view/view_credit.php b/sales/view/view_credit.php index f220fca1..0ddf27f4 100644 --- a/sales/view/view_credit.php +++ b/sales/view/view_credit.php @@ -1,5 +1,14 @@ . +***********************************************************************/ $page_security = 1; $path_to_root="../.."; include_once($path_to_root . "/includes/session.inc"); @@ -90,7 +99,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;