include_once($path_to_root . "/includes/date_functions.inc");
include_once($path_to_root . "/includes/manufacturing.inc");
include_once($path_to_root . "/manufacturing/includes/manufacturing_db.inc");
include_once($path_to_root . "/manufacturing/includes/manufacturing_ui.inc");
include_once($path_to_root . "/includes/date_functions.inc");
include_once($path_to_root . "/includes/manufacturing.inc");
include_once($path_to_root . "/manufacturing/includes/manufacturing_db.inc");
include_once($path_to_root . "/manufacturing/includes/manufacturing_ui.inc");
if (!has_bom($myrow['stock_id']))
{
display_error(_("This Work Order cannot be released. The selected item to manufacture does not have a bom."));
if (!has_bom($myrow['stock_id']))
{
display_error(_("This Work Order cannot be released. The selected item to manufacture does not have a bom."));
- submit_center('release', _("Release Work Order"));
+ submit_center('release', _("Release Work Order"), true, '', true);
hidden('selected_id', $selected_id);
hidden('stock_id', $myrow['stock_id']);
hidden('selected_id', $selected_id);
hidden('stock_id', $myrow['stock_id']);