X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=inventory%2Fmanage%2Fitem_codes.php;h=cde34f0ffe495dfd4db818cf89b3d555c0a1d17a;hb=2b2cbcfe6a448536113966cbb11b79eda73db5ab;hp=4b9fcd79f3c3c974ada87431011f4cf7cd02da5a;hpb=a5242af68e65661edb7175412444dce536a7f311;p=fa-stable.git diff --git a/inventory/manage/item_codes.php b/inventory/manage/item_codes.php index 4b9fcd79..cde34f0f 100644 --- a/inventory/manage/item_codes.php +++ b/inventory/manage/item_codes.php @@ -9,8 +9,8 @@ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the License here . ***********************************************************************/ -$page_security = 11; -$path_to_root="../.."; +$page_security = 'SA_FORITEMCODE'; +$path_to_root = "../.."; include_once($path_to_root . "/includes/session.inc"); page(_("Foreign Item Codes")); @@ -97,7 +97,7 @@ if (list_updated('stock_id')) //-------------------------------------------------------------------------------------------------- -start_form(false, true); +start_form(); if (!isset($_POST['stock_id'])) $_POST['stock_id'] = get_global_stock_item(); @@ -179,7 +179,7 @@ stock_categories_list_row(_("Category:"), 'category_id', null); end_table(1); -submit_add_or_update_center($selected_id == -1, '', true); +submit_add_or_update_center($selected_id == -1, '', 'both'); end_form(); end_page();