diff options
Diffstat (limited to 'httemplate/search/cust_svc.html')
-rw-r--r-- | httemplate/search/cust_svc.html | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/httemplate/search/cust_svc.html b/httemplate/search/cust_svc.html index 568b43b18..1ab5ed171 100644 --- a/httemplate/search/cust_svc.html +++ b/httemplate/search/cust_svc.html @@ -106,5 +106,18 @@ my $link = sub { #'part_svc' => $cust_svc->part_svc, 'svcdb' => $cust_svc->svcdb, #we have it from the joined search #'svc' => $cust_svc, #redundant - 'query' => 'svcnum=', + 'query' => '', ); + [ $url, 'svcnum' ]; +}; + +my $link_cust = sub { + my $cust_svc = shift; + if ( $cust_svc->custnum ) { + [ "${p}view/cust_main.cgi?", 'custnum' ]; + } else { + ''; + } +}; + +</%init> |