X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fview%2Felements%2Fcust_bill-typeset;h=ab5d298f008b14bc697b3126fafe0f6b58954fa0;hb=949a80c148a8bbeeeec54c5a0be5d73b292423a5;hp=778e538d1f9571dcd1f9d84380cec5655e0f8ad9;hpb=eb3bd392a89b8b666dc512951e78913c05b98810;p=freeside.git 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({