diff options
| author | Jonathan Prykop <jonathan@freeside.biz> | 2016-02-29 11:03:41 -0600 |
|---|---|---|
| committer | Jonathan Prykop <jonathan@freeside.biz> | 2016-03-08 13:47:27 -0600 |
| commit | a46fd8d22c2af263e8ab10c496f5bfa8cb0c5c88 (patch) | |
| tree | cff4b63538859757ad33b764e083d982b4f981ae /httemplate/view/elements | |
| parent | 7cccefa1dca60909499b11dff96124a793c4c92d (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({ |
