X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=manufacturing%2Fsearch_work_orders.php;h=d79fc1dc2aeead789c37acf56bc49bb99becd835;hb=211598c5964fd138631395c7f329ec8b87c43c0b;hp=106114af07be77210318f3b52823e57f34237487;hpb=ae115f787d84c11c6140137b054261a398b2f077;p=fa-stable.git diff --git a/manufacturing/search_work_orders.php b/manufacturing/search_work_orders.php index 106114af..d79fc1dc 100644 --- a/manufacturing/search_work_orders.php +++ b/manufacturing/search_work_orders.php @@ -17,7 +17,7 @@ include_once($path_to_root . "/includes/session.inc"); include_once($path_to_root . "/includes/date_functions.inc"); include_once($path_to_root . "/manufacturing/includes/manufacturing_ui.inc"); $js = ""; -if ($use_popup_windows) +if ($SysPrefs->use_popup_windows) $js .= get_js_open_window(800, 500); if (isset($_GET['outstanding_only']) && ($_GET['outstanding_only'] == true)) { @@ -106,8 +106,7 @@ function wo_type_name($dummy, $type) function edit_link($row) { return $row['closed'] ? ''._('Closed').'' : - 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)