Added development/bugtracking sql trail.
[fa-stable.git] / manufacturing / view / wo_production_view.php
index 002c9ef7b9985e3aa5aab06d2335b059c3ce098d..64e287e73ba174fc1e7be82e14ec154524e4984e 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'];
 }
@@ -29,17 +29,18 @@ function display_wo_production($prod_id)
 
     $myrow = get_work_order_produce($prod_id);
 
+       br(1);
     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();