diff options
author | Ivan Kohler <ivan@freeside.biz> | 2014-04-22 17:14:44 -0700 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2014-04-22 17:14:44 -0700 |
commit | 7db3b36f7ecde4fc4425749db64cf75d709f3b7c (patch) | |
tree | c4eeacffb7d595456f7b50cac0be83871fb9e420 /httemplate/misc | |
parent | cd6489220a4cebb8c76a07c470fddd544c78999b (diff) |
show display_custnum on quick payment entry, RT#28616
Diffstat (limited to 'httemplate/misc')
-rw-r--r-- | httemplate/misc/cust_main_note-import.cgi | 2 | ||||
-rw-r--r-- | httemplate/misc/xmlhttp-cust_main-search.cgi | 7 |
2 files changed, 6 insertions, 3 deletions
diff --git a/httemplate/misc/cust_main_note-import.cgi b/httemplate/misc/cust_main_note-import.cgi index 186289517..2e7dc8b65 100644 --- a/httemplate/misc/cust_main_note-import.cgi +++ b/httemplate/misc/cust_main_note-import.cgi @@ -49,7 +49,7 @@ if ( customerArray.length == 0 ) { custnum_obj.value = 'Not found'; custnum_obj.style.color = '#ff0000'; - } else if ( customerArray.length == 5 ) { + } else if ( customerArray.length >= 5 ) { var name = customerArray[1]; opt(customer_select,custnum,name,'#000000'); customer_select.selectedIndex = customer_select.length - 1; diff --git a/httemplate/misc/xmlhttp-cust_main-search.cgi b/httemplate/misc/xmlhttp-cust_main-search.cgi index 73c9ff8ec..b3bf4681b 100644 --- a/httemplate/misc/xmlhttp-cust_main-search.cgi +++ b/httemplate/misc/xmlhttp-cust_main-search.cgi @@ -17,7 +17,8 @@ % $_->balance, % $_->ucfirst_status, % $_->statuscolor, -% scalar($_->open_cust_bill) +% scalar($_->open_cust_bill), +% $_->display_custnum, % ], % @cust_main % ]; @@ -66,7 +67,8 @@ sub findbycustnum { $c->balance, $c->ucfirst_status, $c->statuscolor, - scalar($c->open_cust_bill) + scalar($c->open_cust_bill), + $c->display_custnum, ]; } @@ -94,6 +96,7 @@ sub findbycustnum_or_agent_custid { $_->ucfirst_status, $_->statuscolor, scalar($_->open_cust_bill), + $_->display_custnum, ], qsearch({ |