summaryrefslogtreecommitdiff
path: root/FS/FS/cdr.pm
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2014-02-05 13:51:54 -0800
committerIvan Kohler <ivan@freeside.biz>2014-02-05 13:51:54 -0800
commitad0a365cc548e0f5137b2d1578e2c9f8854e5a86 (patch)
tree69783b102b4eb80ac4e86e9e296eafdf59c86707 /FS/FS/cdr.pm
parent6156461dcd934da26e53f78a4aed450259e4ae55 (diff)
add "Basic with upstream destination name" CDR display format, RT#20129
Diffstat (limited to 'FS/FS/cdr.pm')
-rw-r--r--FS/FS/cdr.pm6
1 files changed, 6 insertions, 0 deletions
diff --git a/FS/FS/cdr.pm b/FS/FS/cdr.pm
index 80b31bf..0fdcbdf 100644
--- a/FS/FS/cdr.pm
+++ b/FS/FS/cdr.pm
@@ -1151,6 +1151,8 @@ sub calltypename {
=cut
+# in the future, load this dynamically from detail_format classes
+
my %export_names = (
'simple' => {
'name' => 'Simple',
@@ -1169,6 +1171,10 @@ my %export_names = (
'name' => 'Basic',
'invoice_header' => "Date/Time,Called Number,Min/Sec,Price",
},
+ 'basic_upstream_dst_regionname' => {
+ 'name' => 'Basic with upstream destination name',
+ 'invoice_header' => "Date/Time,Called Number,Destination,Min/Sec,Price",
+ },
'default' => {
'name' => 'Default',
'invoice_header' => 'Date,Time,Number,Destination,Duration,Price',