summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorivan <ivan>2008-06-05 22:44:43 +0000
committerivan <ivan>2008-06-05 22:44:43 +0000
commit83d2703168fd0e1c877d4a6610875547ab682fb9 (patch)
tree5dd6d652db5d474a459439d81e49dd9f2463a0b0
parentf2a8c96f72fdecfdf6db883fae76558240ea7b11 (diff)
add am/pm to voxlinesystems2 display format, remove name, revsere src/dst
-rw-r--r--FS/FS/cdr.pm7
1 files changed, 5 insertions, 2 deletions
diff --git a/FS/FS/cdr.pm b/FS/FS/cdr.pm
index 5b1a4b421..2ada2d6ad 100644
--- a/FS/FS/cdr.pm
+++ b/FS/FS/cdr.pm
@@ -400,7 +400,8 @@ my %export_names = (
},
'voxlinesystems2' => { 'name' => 'VoxLineSystems with source',
'invoice_header' =>
- "Date,Time,Name,Destination,Called From,Duration,Price",
+ #"Date,Time,Name,Called From,Destination,Duration,Price",
+ "Date,Time,Called From,Destination,Duration,Price",
},
);
@@ -430,7 +431,7 @@ my %export_formats = (
],
'voxlinesystems2' => [
sub { time2str('%D', shift->calldate_unix ) }, #DATE
- sub { time2str('%T', shift->calldate_unix ) }, #TIME
+ sub { time2str('%r', shift->calldate_unix ) }, #TIME
'userfield', #USER
'dst', #NUMBER_DIALED
'src', #called from
@@ -732,6 +733,7 @@ my %import_formats = (
'accountcode', #Calling customer... map to agent_custid??
sub { my($cdr, $field) = @_; }, #Calling type
'src',
+ #sub { my($cdr, $field) = @_; }, #Calling number
'userfield', #Calling name #?
sub { my($cdr, $field) = @_; }, #Called type
'dst', #Called number
@@ -740,6 +742,7 @@ my %import_formats = (
sub { my($cdr, $field) = @_; }, #Destination Number
sub { my($cdr, $field) = @_; }, #Inbound calling type
sub { my($cdr, $field) = @_; }, #Inbound calling number
+ #'src',
sub { my($cdr, $field) = @_; }, #Inbound called type
sub { my($cdr, $field) = @_; }, #Inbound called number
sub { my($cdr, $field) = @_; }, #Inbound destination type