Added trans_editor_link helper.
[fa-stable.git] / manufacturing / search_work_orders.php
index 106114af07be77210318f3b52823e57f34237487..b0c8688e644a3990e8d6befcd20d6a68ecf3b289 100644 (file)
@@ -106,8 +106,7 @@ function wo_type_name($dummy, $type)
 function edit_link($row)
 {
        return  $row['closed'] ? '<i>'._('Closed').'</i>' :
-               pager_link(_("Edit"),
-                       "/manufacturing/work_order_entry.php?trans_no=" . $row["id"], ICON_EDIT);
+               trans_editor_link(ST_WORKORDER, $row["id"]);
 }
 
 function release_link($row)