X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=manufacturing%2Fwork_order_release.php;h=eee4ed95d1ed96e49e5777404b0ed552cedad289;hb=6989100b74130784a524b1f941b3ae73f30f663a;hp=b66613b1fb79d6e67601b23acb54f21610739188;hpb=4d4371fb200bb27fd6b680ebd2d1aaa450a0be7e;p=fa-stable.git diff --git a/manufacturing/work_order_release.php b/manufacturing/work_order_release.php index b66613b1..eee4ed95 100644 --- a/manufacturing/work_order_release.php +++ b/manufacturing/work_order_release.php @@ -9,8 +9,8 @@ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the License here . ***********************************************************************/ -$page_security = 10; -$path_to_root=".."; +$page_security = 'SA_MANUFRELEASE'; +$path_to_root = ".."; include_once($path_to_root . "/includes/session.inc"); include_once($path_to_root . "/includes/date_functions.inc"); @@ -20,6 +20,8 @@ include_once($path_to_root . "/manufacturing/includes/manufacturing_db.inc"); include_once($path_to_root . "/manufacturing/includes/manufacturing_ui.inc"); $js = ""; +if ($use_popup_windows) + $js .= get_js_open_window(800, 500); if ($use_date_picker) $js .= get_js_date_picker(); page(_("Work Order Release to Manufacturing"), false, false, "", $js); @@ -65,7 +67,9 @@ if (isset($_POST['release'])) { release_work_order($selected_id, $_POST['released_date'], $_POST['memo_']); - display_note(_("The work order has been released to manufacturing.")); + display_notification(_("The work order has been released to manufacturing.")); + + display_note(get_trans_view_str(ST_WORKORDER, $selected_id, _("View this Work Order"))); hyperlink_no_params("search_work_orders.php", _("Select another &work order"));