X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=inventory%2Fmanage%2Fitem_codes.php;h=cde34f0ffe495dfd4db818cf89b3d555c0a1d17a;hb=45a035785b9a820621da56dec93078b3ccd9832e;hp=2e4b7272d1d2562f56ffb19980b8d6468cc00288;hpb=3a5c989060c96623b8f621ba89f8eb4405fb1588;p=fa-stable.git diff --git a/inventory/manage/item_codes.php b/inventory/manage/item_codes.php index 2e4b7272..cde34f0f 100644 --- a/inventory/manage/item_codes.php +++ b/inventory/manage/item_codes.php @@ -1,6 +1,16 @@ . +***********************************************************************/ +$page_security = 'SA_FORITEMCODE'; +$path_to_root = "../.."; include_once($path_to_root . "/includes/session.inc"); page(_("Foreign Item Codes")); @@ -72,7 +82,7 @@ if ($Mode == 'Delete') { delete_item_code($selected_id); - display_notification(_("The purchasing data item has been sucessfully deleted.")); + display_notification(_("Item code has been sucessfully deleted.")); $Mode = 'RESET'; } @@ -87,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(); @@ -169,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();