Added short name, name and tax id as search options in customer and supplier lists
authorJoe <unknown>
Fri, 13 Jun 2014 18:40:21 +0000 (20:40 +0200)
committerJoe <unknown>
Fri, 13 Jun 2014 18:40:21 +0000 (20:40 +0200)
includes/ui/ui_lists.inc

index f3a68ea403cfd34f5ace23e317a4afffb9d9e82c..27f812da38675e43b1bb7a0f267d787dc47c33cf 100644 (file)
@@ -450,6 +450,7 @@ function supplier_list($name, $selected_id=null, $spec_option=false, $submit_on_
            'order' => array('supp_ref'),
                'search_box' => $mode!=0,
                'type' => 1,
+        'search' => array("supp_ref","supp_name","gst_no"),        
                'spec_option' => $spec_option === true ? _("All Suppliers") : $spec_option,
                'spec_id' => $all_items,
                'select_submit'=> $submit_on_change,
@@ -502,6 +503,7 @@ function customer_list($name, $selected_id=null, $spec_option=false, $submit_on_
                'search_box' => $mode!=0,
                'type' => 1,
                'size' => 20,
+        'search' => array("debtor_ref","name","tax_id"),        
                'spec_option' => $spec_option === true ? _("All Customers") : $spec_option,
                'spec_id' => $all_items,
                'select_submit'=> $submit_on_change,