Optimizing the F2, F3 and F4 keys in sales/purchase forms.
authorJoe Hunt <joe.hunt.consulting@gmail.com>
Thu, 23 Jan 2020 21:51:12 +0000 (22:51 +0100)
committerJoe Hunt <joe.hunt.consulting@gmail.com>
Thu, 23 Jan 2020 21:51:50 +0000 (22:51 +0100)
includes/ui/ui_controls.inc
inventory/manage/items.php
purchasing/manage/suppliers.php
sales/manage/customers.php

index c2dbae05a715440633230fafe231d2850d931d24..748889d6b8ba55b6ba62420e4561832041239b2a 100644 (file)
@@ -503,15 +503,15 @@ function tab_visible($name, $tab)
 */
 $popup_editors = array(
        'customer' => array('/sales/manage/customers.php?debtor_no=', 
-               113,    _("Customers"), 900, 600),
+               113,    _("Customers"), 900, 550),
        'branch' => array('/sales/manage/customer_branches.php?SelectedBranch=', 
-               114, _("Branches"), 900, 700),
+               114, _("Branches"), 900, 650),
        'supplier' => array('/purchasing/manage/suppliers.php?supplier_id=', 
-               113, _("Suppliers"), 900, 700),
+               113, _("Suppliers"), 1150, 550),
        'item' => array('/inventory/manage/items.php?stock_id=', 
-               115, _("Items"), 800, 600),
+               115, _("Items"), 1000, 500),
        'fa_item' => array('/inventory/manage/items.php?FixedAsset=1&stock_id=', 
-               115, _("Items"), 800, 600)
+               115, _("Items"), 1000, 500)
 );
 /*
        Bind editors for various selectors.
index d0ed1aa5df6ee6640ae17532c4766398f0a5ad02..f99bc4747c28bcddfe4d052b2ef94de75b80a10f 100644 (file)
@@ -643,7 +643,7 @@ end_form();
 
 //------------------------------------------------------------------------------------
 
-end_page();
+end_page(@$_REQUEST['popup']);
 
 function generateBarcode() {
        $tmpBarcodeID = "";
index fb2409ee6f73a446e053c1d2988eeed1141ea00b..3be5bc5f6a9367545a859934f6bb5a11c67f698c 100644 (file)
@@ -351,5 +351,5 @@ tabbed_content_start('tabs', array(
 br();
 tabbed_content_end();
 end_form();
-end_page();
+end_page(@$_REQUEST['popup']);
 
index 92f2aca30b8946d24cce6df23616f6f20904a6c6..7169596c89deb8485bd69dfe4c84765982164514 100644 (file)
@@ -383,5 +383,5 @@ br();
 tabbed_content_end();
 
 end_form();
-end_page();
+end_page(@$_REQUEST['popup']);