//-------------------------------------------------------------------------------------------------
-if ($_GET['trans_no'] != "")
+if ($_GET['trans_no'] != "")
{
$wo_production = $_GET['trans_no'];
}
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();