From: Joe Date: Fri, 13 Jun 2014 18:40:21 +0000 (+0200) Subject: Added short name, name and tax id as search options in customer and supplier lists X-Git-Tag: 2.3-final~130 X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=commitdiff_plain;h=f6f02cc789c66c6807fb612ae02a6908f46e60f9;p=fa-stable.git Added short name, name and tax id as search options in customer and supplier lists --- diff --git a/includes/ui/ui_lists.inc b/includes/ui/ui_lists.inc index f3a68ea4..27f812da 100644 --- a/includes/ui/ui_lists.inc +++ b/includes/ui/ui_lists.inc @@ -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,