projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
More fixes to changed access system, activated js confirm dialogs.
[fa-stable.git]
/
manufacturing
/
work_order_release.php
diff --git
a/manufacturing/work_order_release.php
b/manufacturing/work_order_release.php
index 9cb8e22ed0c068605ba2f436b18c6e02f8e5e18c..ca72da7c980e73540e91d7dd0133827cbf6e106e 100644
(file)
--- 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 <http://www.gnu.org/licenses/gpl-3.0.html>.
***********************************************************************/
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the License here <http://www.gnu.org/licenses/gpl-3.0.html>.
***********************************************************************/
-$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");
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 = "";
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);
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_']);
{
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(systypes::work_order(), $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"));
@@
-96,7
+100,7
@@
if (can_process($myrow))
end_table(1);
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']);
hidden('selected_id', $selected_id);
hidden('stock_id', $myrow['stock_id']);