Location Transfer should not be included in journal_type_list.
authorJoe Hunt <joe.hunt.consulting@gmail.com>
Wed, 15 Aug 2012 14:18:55 +0000 (16:18 +0200)
committerJoe Hunt <joe.hunt.consulting@gmail.com>
Wed, 15 Aug 2012 14:18:55 +0000 (16:18 +0200)
includes/ui/ui_lists.inc

index 91722536b7931b3aab1c842d41f7df768bb0f215..0240b9536c92882cc57294d77143ba8f77bd1fb9 100644 (file)
@@ -1911,7 +1911,7 @@ function journal_types_list_cells($label, $name, $value=null, $submit_on_change=
 
        // exclude quotes, orders and dimensions
        foreach (array(ST_PURCHORDER, ST_WORKORDER, ST_SALESORDER, ST_DIMENSION, 
-                               ST_SALESQUOTE) as $excl)
+                               ST_SALESQUOTE, ST_LOCTRANSFER) as $excl)
                        unset($items[$excl]);
        
        echo array_selector($name, $value, $items,