X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=sales%2Fview%2Fview_invoice.php;h=f34116df7564842d7ffa3a26113ce6da9f51a698;hb=818719f38b8327cdca616d58b13913dbd174d96a;hp=17900ba267c3c3fa3acbd02eccb23244d4560362;hpb=6daea901fea8a4e72325c3578b9fd61189a874b1;p=fa-stable.git diff --git a/sales/view/view_invoice.php b/sales/view/view_invoice.php index 17900ba2..f34116df 100644 --- a/sales/view/view_invoice.php +++ b/sales/view/view_invoice.php @@ -1,5 +1,14 @@ . +***********************************************************************/ $page_security = 1; $path_to_root="../.."; include_once($path_to_root . "/includes/session.inc"); @@ -113,7 +122,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;