summaryrefslogtreecommitdiff
path: root/httemplate/search/contact.html
diff options
context:
space:
mode:
authorChristopher Burger <burgerc@freeside.biz>2019-01-03 12:38:32 -0500
committerChristopher Burger <burgerc@freeside.biz>2019-01-03 12:38:32 -0500
commit80cea05076d397b3b06246a3df4451aea415e9fc (patch)
tree63ed368e066959a7e43d871098711133346eb6a5 /httemplate/search/contact.html
parent409cd8958c687ac468b4d4fbe84fefb8f1e2feec (diff)
RT 81913 - fixed error with batch email from advanced customer reports and contacts report
Diffstat (limited to 'httemplate/search/contact.html')
-rw-r--r--httemplate/search/contact.html8
1 files changed, 7 insertions, 1 deletions
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</a>";
}