diff options
author | mark <mark> | 2012-02-03 01:08:11 +0000 |
---|---|---|
committer | mark <mark> | 2012-02-03 01:08:11 +0000 |
commit | 2103a18a3be93d38f2c1e69bea14a2681e382007 (patch) | |
tree | 0f4dc137d560a16245e2290b8d70d5910fe6e87b /httemplate/misc/email-customers.html | |
parent | 194a775de9252e26f9f7615969489723ffbe46cc (diff) |
email to search results, #16246
Diffstat (limited to 'httemplate/misc/email-customers.html')
-rw-r--r-- | httemplate/misc/email-customers.html | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/httemplate/misc/email-customers.html b/httemplate/misc/email-customers.html index d981aeae9..b87a1bfbb 100644 --- a/httemplate/misc/email-customers.html +++ b/httemplate/misc/email-customers.html @@ -191,7 +191,10 @@ if ( $cgi->param('action') eq 'preview' ) { $sql_query->{'order_by'} = ''; my $object = qsearchs($sql_query); my $cust = $object->cust_main; - my %message = $msg_template->prepare( 'cust_main' => $cust ); + my %message = $msg_template->prepare( + 'cust_main' => $cust, + 'object' => $object + ); ($from, $subject, $html_body) = @message{'from', 'subject', 'html_body'}; } } |