diff options
| author | mark <mark> | 2012-02-03 01:09:21 +0000 |
|---|---|---|
| committer | mark <mark> | 2012-02-03 01:09:21 +0000 |
| commit | a0124adf19658d403f5b6ebb0cc0c7bb862d4c98 (patch) | |
| tree | 0863773ff3a9087a18bd283d4d422dfea5ec3fde /httemplate/misc | |
| parent | 460ef8bc953c9720102d039b3de423079b029626 (diff) | |
email to search results, #16246
Diffstat (limited to 'httemplate/misc')
| -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'}; } } |
