Fixed a layout bug in footer.inc
[fa-stable.git] / sales / view / view_sales_order.php
index 76c58b45a4fd828722ee2c577f134bbe53d6fcd6..13bebb09beec97d4fcb670a17d68c6bcfe8123c6 100644 (file)
@@ -177,7 +177,8 @@ $k = 0;  //row colour counter
 
 foreach ($_SESSION['Items']->line_items as $stock_item) {
 
-       $line_total =   $stock_item->quantity * $stock_item->price * (1 - $stock_item->discount_percent);
+       $line_total = round($stock_item->quantity * $stock_item->price * (1 - $stock_item->discount_percent), 
+          user_price_dec());
 
        alt_table_row_color($k);