Reduced delay when ECB rates page is not avaialable.
[fa-stable.git] / manufacturing / view / wo_production_view.php
index 02450db5370aaaa0bedb10911bce5b58f29e100c..d469d2816a76211c6c451ed473dad55943dae2db 100644 (file)
@@ -1,11 +1,23 @@
 <?php
-
+/**********************************************************************
+    Copyright (C) FrontAccounting, LLC.
+       Released under the terms of the GNU Affero General Public License,
+       AGPL, 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/agpl-3.0.html>.
+***********************************************************************/
 $page_security = 10;
 $path_to_root="../..";
 
 include_once($path_to_root . "/includes/session.inc");
 
-page(_("View Work Order Production"), true);
+$js = "";
+if ($use_popup_windows)
+       $js .= get_js_open_window(900, 500);
+page(_("View Work Order Production"), true, false, "", $js);
 
 include_once($path_to_root . "/includes/date_functions.inc");
 include_once($path_to_root . "/includes/manufacturing.inc");
@@ -29,6 +41,7 @@ function display_wo_production($prod_id)
 
     $myrow = get_work_order_produce($prod_id);
 
+       br(1);
     start_table($table_style);
     $th = array(_("Production #"), _("Reference"), _("For Work Order #"),
        _("Item"), _("Quantity Manufactured"), _("Date"));