X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=manufacturing%2Fwork_order_release.php;h=0d58b749a550b8e9969f56f316e5a584537abe49;hb=ff3ad68ec5da00d6e906fdaad3a4df3658709ff3;hp=80e4f3ac81e472601f1f36cf9b6969265a906167;hpb=c09be0dad6b05131e240349a375af7a4b7bf3444;p=fa-stable.git diff --git a/manufacturing/work_order_release.php b/manufacturing/work_order_release.php index 80e4f3ac..0d58b749 100644 --- a/manufacturing/work_order_release.php +++ b/manufacturing/work_order_release.php @@ -1,7 +1,16 @@ . +***********************************************************************/ +$page_security = 'SA_MANUFRELEASE'; +$path_to_root = ".."; include_once($path_to_root . "/includes/session.inc"); include_once($path_to_root . "/includes/date_functions.inc"); @@ -11,9 +20,11 @@ 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); +page(_($help_context = "Work Order Release to Manufacturing"), false, false, "", $js); if (isset($_GET["trans_no"])) { @@ -56,9 +67,11 @@ 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")); + hyperlink_no_params("search_work_orders.php", _("Select another &work order")); $Ajax->activate('_page_body'); end_page(); @@ -87,7 +100,7 @@ if (can_process($myrow)) end_table(1); - submit_center('release', _("Release Work Order"), true, '', true); + submit_center('release', _("Release Work Order"), true, '', 'default'); hidden('selected_id', $selected_id); hidden('stock_id', $myrow['stock_id']);