X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fmisc%2Fxmlhttp-cust_main-duplicates.html;h=7cd463371e0a97cd7a4da7fc9488641ca1a7253d;hb=d883a843dcfce64caeddd2a4abb0982c16a17199;hp=6654b3e39e841bcbd4f484801a7408c0f6d645cf;hpb=fec48523d3cf056da08813f9b2b7d633b27aaf8d;p=freeside.git diff --git a/httemplate/misc/xmlhttp-cust_main-duplicates.html b/httemplate/misc/xmlhttp-cust_main-duplicates.html index 6654b3e39..7cd463371 100644 --- a/httemplate/misc/xmlhttp-cust_main-duplicates.html +++ b/httemplate/misc/xmlhttp-cust_main-duplicates.html @@ -8,9 +8,9 @@ Choose an existing customer <% $custnum %>: - <% $_->name %>—<%$_->ucfirst_cust_status%>
-<% $_->address1 %>
-<% $_->city %>, <% $_->state %>  <% $_->zip %> + <% $_->name |h %>—<%$_->ucfirst_cust_status%>
+<% $_->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 = <