X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fsearch%2Fcust_svc.html;h=9cf4bbda6196ba2b17af66e3071a858d02d102c3;hb=8dba5cb96454bf8ec81333ebac381180731396f1;hp=a2cdc8a2d3be01deb789ada3577b2e4d5a9ed23f;hpb=b5c4237a34aef94976bc343c8d9e138664fc3984;p=freeside.git diff --git a/httemplate/search/cust_svc.html b/httemplate/search/cust_svc.html index a2cdc8a2d..9cf4bbda6 100644 --- a/httemplate/search/cust_svc.html +++ b/httemplate/search/cust_svc.html @@ -1,11 +1,11 @@ -<% include( 'elements/search.html', - 'title' => 'Service search results', - 'name' => 'services', +<& elements/search.html, + 'title' => emt('Service search results'), + 'name' => emt('services'), 'query' => $sql_query, 'count_query' => $count_query, 'redirect' => $link, - 'header' => [ '#', - 'Service', + 'header' => [ emt('#'), + emt('Service'), # package? FS::UI::Web::cust_header(), ], @@ -36,8 +36,7 @@ '', FS::UI::Web::cust_styles(), ], - ) -%> +&> <%init> die "access denied" @@ -76,6 +75,7 @@ if ( length( $cgi->param('search_svc') ) ) { $cgi->param('svcdb') =~ /^(svc_\w+)$/ or die "unknown svcdb"; push @extra_sql, "svcdb = '$1'"; + $addl_from .= " LEFT JOIN $1 USING ( svcnum ) "; push @extra_sql, 'pkgnum IS NULL' if $cgi->param('magic') eq 'unlinked';