summaryrefslogtreecommitdiff
path: root/httemplate/misc/xmlhttp-cust_main-search.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/misc/xmlhttp-cust_main-search.cgi')
-rw-r--r--httemplate/misc/xmlhttp-cust_main-search.cgi22
1 files changed, 0 insertions, 22 deletions
diff --git a/httemplate/misc/xmlhttp-cust_main-search.cgi b/httemplate/misc/xmlhttp-cust_main-search.cgi
deleted file mode 100644
index 67512fa..0000000
--- a/httemplate/misc/xmlhttp-cust_main-search.cgi
+++ /dev/null
@@ -1,22 +0,0 @@
-%
-% my $sub = $cgi->param('sub');
-%
-% if ( $sub eq 'custnum_search' ) {
-%
-% my $custnum = $cgi->param('arg');
-% my $cust_main = qsearchs('cust_main', { 'custnum' => $custnum } );
-%
-%
-"<% $cust_main ? $cust_main->name : '' %>"
-% } elsif ( $sub eq 'smart_search' ) {
-%
-% my $string = $cgi->param('arg');
-% my @cust_main = smart_search( 'search' => $string );
-% my $return = [ map [ $_->custnum, $_->name ], @cust_main ];
-%
-%
-<% objToJson($return) %>
-% }
-
-
-