projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
3e8635e
)
respect voip-cdr_email config when viewing invoices in the backend, RT#10280
author
ivan
<ivan>
Fri, 22 Oct 2010 06:29:09 +0000
(06:29 +0000)
committer
ivan
<ivan>
Fri, 22 Oct 2010 06:29:09 +0000
(06:29 +0000)
httemplate/view/cust_bill.cgi
patch
|
blob
|
history
diff --git
a/httemplate/view/cust_bill.cgi
b/httemplate/view/cust_bill.cgi
index
ce8d96a
..
f1618fa
100755
(executable)
--- a/
httemplate/view/cust_bill.cgi
+++ b/
httemplate/view/cust_bill.cgi
@@
-117,13
+117,14
@@
if ( $query =~ /^((.+)-)?(\d+)$/ ) {
$notice_name = $cgi->param('notice_name');
}
$notice_name = $cgi->param('notice_name');
}
+my $conf = new FS::Conf;
+
my %opt = (
my %opt = (
- 'template' => $template,
- 'notice_name' => $notice_name,
+ 'unsquelch_cdr' => $conf->exists('voip-cdr_email'),
+ 'template' => $template,
+ 'notice_name' => $notice_name,
);
);
-my $conf = new FS::Conf;
-
my @payby = grep /\w/, $conf->config('payby');
#@payby = (qw( CARD DCRD CHEK DCHK LECB BILL CASH WEST COMP ))
@payby = (qw( CARD DCRD CHEK DCHK LECB BILL CASH COMP ))
my @payby = grep /\w/, $conf->config('payby');
#@payby = (qw( CARD DCRD CHEK DCHK LECB BILL CASH WEST COMP ))
@payby = (qw( CARD DCRD CHEK DCHK LECB BILL CASH COMP ))