projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
changes to support new invoice template features, #28080
[freeside.git]
/
FS
/
FS
/
cdr.pm
diff --git
a/FS/FS/cdr.pm
b/FS/FS/cdr.pm
index
c2be4f2
..
4126d5f
100644
(file)
--- a/
FS/FS/cdr.pm
+++ b/
FS/FS/cdr.pm
@@
-338,7
+338,7
@@
sub check {
#check the foreign keys even?
#do we want to outright *reject* the CDR?
my $error =
#check the foreign keys even?
#do we want to outright *reject* the CDR?
my $error =
- $self->ut_numbern('acctid')
+ $self->ut_numbern('acctid')
;
#add a config option to turn these back on if someone needs 'em
#
#add a config option to turn these back on if someone needs 'em
#
@@
-350,7
+350,7
@@
sub check {
#
# # Telstra =1, Optus = 2, RSL COM = 3
# || $self->ut_foreign_keyn('carrierid', 'cdr_carrier', 'carrierid' )
#
# # Telstra =1, Optus = 2, RSL COM = 3
# || $self->ut_foreign_keyn('carrierid', 'cdr_carrier', 'carrierid' )
- ;
+
return $error if $error;
$self->SUPER::check;
return $error if $error;
$self->SUPER::check;
@@
-1210,6
+1210,10
@@
my %export_names = (
'name' => 'Summary, one line per destination prefix',
'invoice_header' => 'Caller,Rate,Calls,Minutes,Price',
},
'name' => 'Summary, one line per destination prefix',
'invoice_header' => 'Caller,Rate,Calls,Minutes,Price',
},
+ 'sum_count_class' => {
+ 'name' => 'Summary, one line per usage class',
+ 'invoice_header' => 'Caller,Class,Calls,Price',
+ },
);
my %export_formats = ();
);
my %export_formats = ();