diff options
author | Jonathan Prykop <jonathan@freeside.biz> | 2015-12-15 00:34:24 -0600 |
---|---|---|
committer | Jonathan Prykop <jonathan@freeside.biz> | 2015-12-15 00:42:25 -0600 |
commit | da6015e530665b6300e76a185c31ee9ba53e5f42 (patch) | |
tree | aa9d1f719f5742b0f43b77cc534580ea27f2b7d5 /httemplate/misc | |
parent | 5a813d91f3d4b1c6eff81dfa9c88e2b587442984 (diff) |
RT#34078: Payment History Report / Statement [updated cgi params]
Diffstat (limited to 'httemplate/misc')
-rw-r--r-- | httemplate/misc/email-customer-statement.html | 6 |
1 files 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 ) ), '</TABLE>', - '<INPUT TYPE="hidden" NAME="action" VALUE="preview">', + '<INPUT TYPE="hidden" NAME="preview" VALUE="1">', '<INPUT TYPE="submit" VALUE="Preview notice">', ); }; 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', '<P>' . $opt{'conf'}->config('company_name') . ' statement of charges and payments for ' . |