diff options
author | jeff <jeff> | 2008-12-30 21:45:02 +0000 |
---|---|---|
committer | jeff <jeff> | 2008-12-30 21:45:02 +0000 |
commit | 583ba53e6f0c7126466eac5f68356ad843cddf1e (patch) | |
tree | 1193f85c9d23f28c36e3d3b57f49f8f0b67b59c8 | |
parent | 356029b5671879f75ceface8f57e68657896dda6 (diff) |
move price to last column for default_source
-rw-r--r-- | FS/FS/cdr.pm | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/FS/FS/cdr.pm b/FS/FS/cdr.pm index 27db89e..0a2084f 100644 --- a/FS/FS/cdr.pm +++ b/FS/FS/cdr.pm @@ -431,7 +431,7 @@ my %export_names = ( }, 'source_default' => { 'name' => 'Default with source', - 'invoice_header' => 'Caller,Date,Time,Duration,Price,Number,Destination', + 'invoice_header' => 'Caller,Date,Time,Duration,Number,Destination,Price', }, ); @@ -494,7 +494,11 @@ my %export_formats = ( ], ); -$export_formats{'source_default'} = [ 'src', @{ $export_formats{'default'} } ]; +$export_formats{'source_default'} = [ 'src', + @{ $export_formats{'default'} }[0..2], + @{ $export_formats{'default'} }[4..5], + @{ $export_formats{'default'} }[3], + ]; sub downstream_csv { my( $self, %opt ) = @_; |