projects
/
fa-stable.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
3ba71a4
)
Customer/branch list was searched on name and not reference.
author
Janusz Dobrowolski
<janusz@frontaccouting.eu>
Mon, 30 May 2011 16:05:57 +0000
(18:05 +0200)
committer
Janusz Dobrowolski
<janusz@frontaccouting.eu>
Mon, 30 May 2011 16:05:57 +0000
(18:05 +0200)
includes/ui/ui_lists.inc
patch
|
blob
|
history
diff --git
a/includes/ui/ui_lists.inc
b/includes/ui/ui_lists.inc
index 14eb54436083283ba3f40cbaa5d4355ea2a499bc..808e7557549e099b3d3407ca31465995d0e5caf6 100644
(file)
--- a/
includes/ui/ui_lists.inc
+++ b/
includes/ui/ui_lists.inc
@@
-477,7
+477,7
@@
function customer_list($name, $selected_id=null, $spec_option=false, $submit_on_
if ($editkey)
set_editor('customer', $name, $editkey);
if ($editkey)
set_editor('customer', $name, $editkey);
- return combo_input($name, $selected_id, $sql, 'debtor_no', '
name
',
+ return combo_input($name, $selected_id, $sql, 'debtor_no', '
debtor_ref
',
array(
'format' => '_format_add_curr',
'order' => array('debtor_ref'),
array(
'format' => '_format_add_curr',
'order' => array('debtor_ref'),
@@
-528,7
+528,7
@@
function customer_branches_list($customer_id, $name, $selected_id=null,
set_editor('branch', $name, $editkey);
$where = $enabled ? array("disable_trans = 0") : array();
set_editor('branch', $name, $editkey);
$where = $enabled ? array("disable_trans = 0") : array();
- return combo_input($name, $selected_id, $sql, 'branch_code', 'br
_name
',
+ return combo_input($name, $selected_id, $sql, 'branch_code', 'br
anch_ref
',
array(
'where' => $where,
'order' => array('branch_ref'),
array(
'where' => $where,
'order' => array('branch_ref'),