diff options
author | Jonathan Prykop <jonathan@freeside.biz> | 2016-02-29 11:03:41 -0600 |
---|---|---|
committer | Jonathan Prykop <jonathan@freeside.biz> | 2016-02-29 11:03:41 -0600 |
commit | 47f8f6a1868aeb155b985c10f332c5a9d455f032 (patch) | |
tree | 156d28cc6cfb01c9cb733eb598d15ef8c589ea4f /httemplate/view/elements | |
parent | 9ece94ae50eaa9c326fc801d904565bbbd28b9ed (diff) |
RT#27274: View/print/resend statement (sent as payment receipt)
Diffstat (limited to 'httemplate/view/elements')
-rw-r--r-- | httemplate/view/elements/cust_bill-typeset | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/httemplate/view/elements/cust_bill-typeset b/httemplate/view/elements/cust_bill-typeset index 778e538d1..ab5d298f0 100644 --- a/httemplate/view/elements/cust_bill-typeset +++ b/httemplate/view/elements/cust_bill-typeset @@ -6,7 +6,7 @@ die "access denied" my $type = shift; -my( $invnum, $mode, $template, $notice_name ); +my( $invnum, $mode, $template, $notice_name, $no_coupon ); my($query) = $cgi->keywords; if ( $query =~ /^((.+)-)?(\d+)(.pdf)?$/ ) { #probably not necessary anymore? $template = $2; @@ -18,6 +18,7 @@ if ( $query =~ /^((.+)-)?(\d+)(.pdf)?$/ ) { #probably not necessary anymore? $template = $cgi->param('template'); $notice_name = $cgi->param('notice_name'); $mode = $cgi->param('mode'); + $no_coupon = $cgi->param('no_coupon'); } my $conf = new FS::Conf; @@ -26,6 +27,7 @@ my %opt = ( 'unsquelch_cdr' => $conf->exists('voip-cdr_email'), 'template' => $template, 'notice_name' => $notice_name, + 'no_coupon' => $no_coupon, ); my $cust_bill = qsearchs({ |