projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
php 8. Fixed undefined array key warnings.
[fa-stable.git]
/
inventory
/
manage
/
sales_kits.php
diff --git
a/inventory/manage/sales_kits.php
b/inventory/manage/sales_kits.php
index 2f4066787f548658e938f07cb28bae179122d044..219f7f353d044e66eaf534b8cad260574439d703 100644
(file)
--- a/
inventory/manage/sales_kits.php
+++ b/
inventory/manage/sales_kits.php
@@
-13,7
+13,11
@@
$page_security = 'SA_SALESKIT';
$path_to_root = "../..";
include_once($path_to_root . "/includes/session.inc");
$path_to_root = "../..";
include_once($path_to_root . "/includes/session.inc");
-page(_($help_context = "Sales Kits & Alias Codes"));
+$js = "";
+if ($SysPrefs->use_popup_windows && $SysPrefs->use_popup_search)
+ $js .= get_js_open_window(900, 500);
+
+page(_($help_context = "Sales Kits & Alias Codes"), false, false, "", $js);
include_once($path_to_root . "/includes/date_functions.inc");
include_once($path_to_root . "/includes/ui.inc");
include_once($path_to_root . "/includes/date_functions.inc");
include_once($path_to_root . "/includes/ui.inc");
@@
-192,7
+196,7
@@
$selected_kit = $_POST['item_code'];
if (get_post('item_code') == '') {
// New sales kit entry
start_table(TABLESTYLE2);
if (get_post('item_code') == '') {
// New sales kit entry
start_table(TABLESTYLE2);
- text_row(_("Alias/kit code:"), 'kit_code', null, 20, 2
1
);
+ text_row(_("Alias/kit code:"), 'kit_code', null, 20, 2
0
);
} else
{
// Kit selected so display bom or edit component
} else
{
// Kit selected so display bom or edit component