From dacfac92a13152bb3060ac000121b41ffc8d877f Mon Sep 17 00:00:00 2001 From: Jonathan Prykop Date: Tue, 15 Dec 2015 00:34:24 -0600 Subject: [PATCH] RT#34078: Payment History Report / Statement [updated cgi params] --- httemplate/misc/email-customer-statement.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/httemplate/misc/email-customer-statement.html b/httemplate/misc/email-customer-statement.html index 20430f5b1..39c99e515 100644 --- a/httemplate/misc/email-customer-statement.html +++ b/httemplate/misc/email-customer-statement.html @@ -34,14 +34,14 @@ my $alternate_form = sub { qw( start_date end_date ) ), '', - '', + '', '', ); }; my $post_search_hook = sub { my %opt = @_; - return unless $cgi->param('action') eq 'preview'; + return unless $cgi->param('preview'); my $cust_main = qsearchs('cust_main',$opt{'search'}) or die "Could not find customer"; @@ -69,7 +69,7 @@ my $post_search_hook = sub { $summary_text ); - $cgi->param('html_body', + $cgi->param('body', '

' . $opt{'conf'}->config('company_name') . ' statement of charges and payments for ' . -- 2.11.0