Improved layout.
[fa-stable.git] / manufacturing / work_order_release.php
index 91db03bd9aa846b7b4897f69fa6d2d409d1a09d0..b66613b1fb79d6e67601b23acb54f21610739188 100644 (file)
@@ -1,5 +1,14 @@
 <?php
-
+/**********************************************************************
+    Copyright (C) FrontAccounting, LLC.
+       Released under the terms of the GNU General Public License, GPL, 
+       as published by the Free Software Foundation, either version 3 
+       of the License, or (at your option) any later version.
+    This program is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    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="..";
 include_once($path_to_root . "/includes/session.inc");
@@ -58,10 +67,10 @@ if (isset($_POST['release']))
 
        display_note(_("The work order has been released to manufacturing."));
 
-       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();
-
        exit;
 }
 
@@ -87,7 +96,7 @@ if (can_process($myrow))
 
     end_table(1);
 
-    submit_center('release', _("Release Work Order"), true, '', false);
+    submit_center('release', _("Release Work Order"), true, '', 'default');
 
     hidden('selected_id', $selected_id);
     hidden('stock_id', $myrow['stock_id']);