X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fsearch%2Fcust_main.cgi;h=6b16252c87dd59e2be6bc6b588e533b13c0e80a7;hb=810f6c01aa6882f6893d4cbb061d1adafaf79638;hp=8b67215bc8cb4b61436484d4b4a66603380a45eb;hpb=78ad530afc8cd865655dd86b249112f15fccdcf1;p=freeside.git diff --git a/httemplate/search/cust_main.cgi b/httemplate/search/cust_main.cgi index 8b67215bc..6b16252c8 100755 --- a/httemplate/search/cust_main.cgi +++ b/httemplate/search/cust_main.cgi @@ -8,7 +8,7 @@ % errorpage(emt("No matching customers found!")); % } # errorpage quits, so we don't need an 'else' below -<& /elements/header.html, emt("Customer Search Results"), '' &> +<& /elements/header.html, mt("Customer Search Results"), '' &> % $total ||= scalar(@cust_main); <% mt("[_1] matching customers found",$total) |h %> @@ -37,6 +37,10 @@ ( <% mt("$linklabel canceled customers") |h %> ) % } +% unless ($cgi->param('browse')) { + <& /elements/agent_transfer_link.html, {'list' => \@cust_main} &> +% } + % if ( $cgi->param('referral_custnum') ) { % $cgi->param('referral_custnum') =~ /^(\d+)$/ % or errorpage(emt("Illegal referral_custnum")); @@ -54,7 +58,7 @@ % my $refcustlabel = "$referral_custnum: " . % ( $cust_main->company || $cust_main->last. ', '. $cust_main->first ); referrals of - "><% $refcustlabel %> + "><% $refcustlabel |h %>