F2 - Customers/Suppliers; F4 - Items. Removed Menu in popup windows.
authorJoe Hunt <joe.hunt.consulting@gmail.com>
Tue, 21 Jan 2020 09:13:37 +0000 (10:13 +0100)
committerJoe Hunt <joe.hunt.consulting@gmail.com>
Tue, 21 Jan 2020 09:13:37 +0000 (10:13 +0100)
inventory/manage/items.php
purchasing/manage/suppliers.php
sales/manage/customers.php

index f95887e0f8c19f7b518c9a3a0bd952399c719169..d0ed1aa5df6ee6640ae17532c4766398f0a5ad02 100644 (file)
@@ -32,7 +32,7 @@ else {
 }
 
 
-page($_SESSION['page_title'], false, false, "", $js);
+page($_SESSION['page_title'], @$_REQUEST['popup'], false, "", $js);
 
 include_once($path_to_root . "/includes/date_functions.inc");
 include_once($path_to_root . "/includes/ui.inc");
index d20e1ac6a59c022ec761d2c3a04a8ca1a14e71b0..fb2409ee6f73a446e053c1d2988eeed1141ea00b 100644 (file)
@@ -20,7 +20,7 @@ if ($SysPrefs->use_popup_windows)
 if (user_use_date_picker())
        $js .= get_js_date_picker();
 
-page(_($help_context = "Suppliers"), false, false, "", $js);
+page(_($help_context = "Suppliers"), @$_REQUEST['popup'], false, "", $js);
 
 include_once($path_to_root . "/includes/ui.inc");
 include_once($path_to_root . "/includes/ui/contacts_view.inc");
index c81f78cbf710ebb1022d1faf143db8b6ebcc58ac..92f2aca30b8946d24cce6df23616f6f20904a6c6 100644 (file)
@@ -20,7 +20,7 @@ if ($SysPrefs->use_popup_windows)
 if (user_use_date_picker())
        $js .= get_js_date_picker();
        
-page(_($help_context = "Customers"), false, false, "", $js); 
+page(_($help_context = "Customers"), @$_REQUEST['popup'], false, "", $js); 
 
 include_once($path_to_root . "/includes/date_functions.inc");
 include_once($path_to_root . "/includes/banking.inc");