X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fmisc%2Fxmlhttp-cust_main-duplicates.html;h=eac396df73b92e53e26f3b8cbff3aceaba7931f8;hp=7ee00af66b063dea4c14cc6cd26c6b0e6dc34ff1;hb=ded6a5654efd56d2f271970c992133600e0223b1;hpb=3d18177c158acc492e9322677b11c8089df0fbc0 diff --git a/httemplate/misc/xmlhttp-cust_main-duplicates.html b/httemplate/misc/xmlhttp-cust_main-duplicates.html index 7ee00af66..eac396df7 100644 --- a/httemplate/misc/xmlhttp-cust_main-duplicates.html +++ b/httemplate/misc/xmlhttp-cust_main-duplicates.html @@ -8,7 +8,7 @@ Choose an existing customer <% $custnum %>: - <% $_->name |h %>—<%$_->ucfirst_cust_status%>
+ <% $_->name |h %>—<%$_->cust_status_label%>
<% $_->address1 |h %>
<% $_->city |h %>, <% $_->state %>  <% $_->zip %> @@ -50,7 +50,9 @@ my $conf = new FS::Conf; my $sub = $cgi->param('sub'); my $hashref = decode_json($cgi->param('arg')); -my @cust_main = qsearch('cust_main', $hashref); +my $search = FS::cust_main->search($hashref); +#warn Dumper($search); +my @cust_main = qsearch( $search ); my $set_to_customer = <