Added two new helpers date_comp, sql_date_comp.
[fa-stable.git] / manufacturing / inquiry / bom_cost_inquiry.php
index 8faae1ccbf9728464abee9e081bd90cfe7be9bce..0a594aa123c0ba300e541d5c47a04cc72667f68b 100644 (file)
@@ -9,11 +9,11 @@
     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  
     See the License here <http://www.gnu.org/licenses/gpl-3.0.html>.
 ***********************************************************************/
-$page_security = 2;
-$path_to_root="../..";
+$page_security = 'SA_WORKORDERCOST';
+$path_to_root = "../..";
 include_once($path_to_root . "/includes/session.inc");
 
-page(_("Costed Bill Of Material Inquiry"));
+page(_($help_context = "Costed Bill Of Material Inquiry"));
 
 include_once($path_to_root . "/manufacturing/includes/manufacturing_ui.inc");
 include_once($path_to_root . "/includes/manufacturing.inc");
@@ -31,7 +31,7 @@ if (list_updated('stock_id'))
                $Ajax->activate('_page_body');
 
 start_form(false, true);
-start_table("class='tablestyle_noborder'");
+start_table(TABLESTYLE_NOBORDER);
 stock_manufactured_items_list_row(_("Select a manufacturable item:"), 'stock_id', null, false, true);
 end_table();
 br();
@@ -41,4 +41,3 @@ display_bom($_POST['stock_id']);
 end_form();
 
 end_page();
-?>