X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fsearch%2Fcust_main.html;h=7729da4198ca9a005661bc301890593e67393b6b;hb=c742a74ec444c4606006a14e814d06e0b1795ea4;hp=19456e65114dc94ff820f1b66d5ccaf70b517aeb;hpb=34add44f0e88aac782264a2febc59b8f48d7ca52;p=freeside.git diff --git a/httemplate/search/cust_main.html b/httemplate/search/cust_main.html index 19456e651..7729da419 100755 --- a/httemplate/search/cust_main.html +++ b/httemplate/search/cust_main.html @@ -27,7 +27,11 @@ $cgi->param('cust_fields') ) ), - map '', @extra_fields + map { $_ eq 'num_referrals' + ? $referral_link + : '' + } + @extra_fields ], &> <%init> @@ -41,7 +45,8 @@ my %search_hash = (); #scalars my @scalars = qw ( - agentnum salesnum status address county state zip country + agentnum salesnum status + address city county state zip country location_history paydate_year paydate_month invoice_terms no_censustract with_geocode with_email tax no_tax POST no_POST custbatch usernum @@ -50,6 +55,7 @@ my @scalars = qw ( all_tags all_pkg_classnums any_pkg_status + with_referrals referral_status ); for my $param ( @scalars ) { @@ -103,6 +109,8 @@ my @extra_fields = @{ delete($sql_query->{'extra_fields'}) }; my $link = [ "${p}view/cust_main.cgi?", 'custnum' ]; +my $referral_link = [ "${p}search/cust_main.cgi?referral_custnum=", 'custnum' ]; + ### # email links ###