Moving 2.0 development version to main trunk.
[fa-stable.git] / manufacturing / view / wo_production_view.php
index 002c9ef7b9985e3aa5aab06d2335b059c3ce098d..02450db5370aaaa0bedb10911bce5b58f29e100c 100644 (file)
@@ -16,7 +16,7 @@ include_once($path_to_root . "/manufacturing/includes/manufacturing_ui.inc");
 
 //-------------------------------------------------------------------------------------------------
 
-if ($_GET['trans_no'] != "") 
+if ($_GET['trans_no'] != "")
 {
        $wo_production = $_GET['trans_no'];
 }
@@ -32,14 +32,14 @@ function display_wo_production($prod_id)
     start_table($table_style);
     $th = array(_("Production #"), _("Reference"), _("For Work Order #"),
        _("Item"), _("Quantity Manufactured"), _("Date"));
-    table_header($th); 
+    table_header($th);
 
        start_row();
        label_cell($myrow["id"]);
        label_cell($myrow["reference"]);
        label_cell(get_trans_view_str(systypes::work_order(),$myrow["workorder_id"]));
        label_cell($myrow["stock_id"] . " - " . $myrow["StockDescription"]);
-       qty_cell($myrow["quantity"]);
+       qty_cell($myrow["quantity"], false, get_qty_dec($myrow["stock_id"]));
        label_cell(sql2date($myrow["date_"]));
        end_row();