projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix agent override of invoice_omit_due_date, RT#73002
[freeside.git]
/
httemplate
/
search
/
report_cdr.html
diff --git
a/httemplate/search/report_cdr.html
b/httemplate/search/report_cdr.html
index
e3418a7
..
ef54478
100644
(file)
--- a/
httemplate/search/report_cdr.html
+++ b/
httemplate/search/report_cdr.html
@@
-24,9
+24,12
@@
<SELECT NAME="freesidestatus">
<OPTION VALUE="">(all)</OPTION>
<OPTION VALUE="NULL">unprocessed</OPTION>
<SELECT NAME="freesidestatus">
<OPTION VALUE="">(all)</OPTION>
<OPTION VALUE="NULL">unprocessed</OPTION>
+%# <OPTION VALUE="processing-tiered">processing</OPTION>
<OPTION VALUE="rated">prerated
<OPTION VALUE="rated">prerated
- <OPTION VALUE="done">processed</OPTION>
- <OPTION VALUE="failed">skipped</OPTION>
+ <OPTION VALUE="no-charge">processed (included)</OPTION>
+ <OPTION VALUE="done">processed (billed)</OPTION>
+ <OPTION VALUE="skipped">skipped</OPTION>
+ <OPTION VALUE="failed">failed</OPTION>
</SELECT>
</TD>
</TR>
</SELECT>
</TD>
</TR>
@@
-144,6
+147,11
@@
<TD><TEXTAREA NAME="acctid"></TEXTAREA></TD>
</TR>
<TD><TEXTAREA NAME="acctid"></TEXTAREA></TD>
</TR>
+ <TR>
+ <TD ALIGN="right">Acct Code (one per-line):</TD>
+ <TD><TEXTAREA NAME="accountcode"></TEXTAREA></TD>
+ </TR>
+
<TR>
<TH CLASS="background" COLSPAN=2> </TH>
</TR>
<TR>
<TH CLASS="background" COLSPAN=2> </TH>
</TR>
@@
-180,7
+188,13
@@
die "access denied"
unless $FS::CurrentUser::CurrentUser->access_right('List rating data');
my @fields = fields('cdr');
unless $FS::CurrentUser::CurrentUser->access_right('List rating data');
my @fields = fields('cdr');
+push @fields, 'ratename';
my $labels = FS::cdr->table_info->{'fields'};
my $labels = FS::cdr->table_info->{'fields'};
+$labels->{ratename} = 'Rate plan';
+
+my $conf = new FS::Conf;
+my $default_phone_countrycode =
+ $conf->config('default_phone_countrycode') || '1';
#XXX config
my @show_default = qw(
#XXX config
my @show_default = qw(
@@
-214,7
+228,7
@@
if ( $cgi->param('custnum') =~ /^(\d+)$/ ) {
});
die "Customer not found!" unless $cust_main;
});
die "Customer not found!" unless $cust_main;
- #historical
?
+ #historical
packages? It would help, it was still usage, it happened
foreach my $cust_pkg ( $cust_main->ncancelled_pkgs ) {
my @voip_pkgs =
foreach my $cust_pkg ( $cust_main->ncancelled_pkgs ) {
my @voip_pkgs =
@@
-239,7
+253,7
@@
if ( $cgi->param('custnum') =~ /^(\d+)$/ ) {
my @numbers = map {
my $number = $_->phonenum;
$number = $_->countrycode. $number
my @numbers = map {
my $number = $_->phonenum;
$number = $_->countrycode. $number
-
unless $_->countrycode eq '1'
;
+
unless $_->countrycode eq $default_phone_countrycode
;
$number;
}
@svc_phone;
$number;
}
@svc_phone;