X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fsearch%2Fcontact.html;h=24cb237c3ad591b004e84b6bb0ca512d8ee38d8f;hb=1ecd36ac737059c2fd80cd3260cd330df305b304;hp=4b3fe83998916fb984fd10eba65ece371dd6d917;hpb=e63d638c6b7b2c9adedb43e0bd9afe4260714837;p=freeside.git diff --git a/httemplate/search/contact.html b/httemplate/search/contact.html index 4b3fe8399..24cb237c3 100644 --- a/httemplate/search/contact.html +++ b/httemplate/search/contact.html @@ -243,10 +243,15 @@ for my $col (@report) { my $classnum_url_part; if (@classnum) { - $classnum_url_part = join '', map{ "&classnums=$_" } @classnum, @dest; + $classnum_url_part = join '', map{ "&classnums=$_" } @classnum; $classnum_url_part .= '&classnums=0' if $classnum_null; } +my $dest_url_part; +if (@dest) { + $dest_url_part = join '', map{ "&dest=$_" } @dest; +} + # E-mail pipeline, from email-customers.html through to email queue job, # doesn't support cust_prospect table my $send_email_link = undef; @@ -262,6 +267,7 @@ if ($link eq 'cust_main') { '&refnum=1'. '&with_email=on'. $classnum_url_part. + $dest_url_part. "\">Email a notice to these customers"; }