[freeside-commits] freeside/FS/FS cdr.pm,1.32,1.33

Ivan,,, ivan at wavetail.420.am
Wed Mar 11 02:41:53 PDT 2009


Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail.420.am:/tmp/cvs-serv19243

Modified Files:
	cdr.pm 
Log Message:
add cdr display with accountcode included, RT#4405

Index: cdr.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/cdr.pm,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -d -r1.32 -r1.33
--- cdr.pm	2 Mar 2009 04:58:09 -0000	1.32
+++ cdr.pm	11 Mar 2009 09:41:51 -0000	1.33
@@ -464,6 +464,10 @@
     'name'           => 'Default with source',
     'invoice_header' => 'Caller,Date,Time,Number,Destination,Duration,Price',
   },
+  'accountcode_default' => {
+    'name'           => 'Default plus accountcode',
+    'invoice_header' => 'Caller,Date,Time,Number,Destination,Duration,Price',
+  },
 );
 
 my %export_formats = (
@@ -528,6 +532,11 @@
   ],
 );
 $export_formats{'source_default'} = [ 'src', @{ $export_formats{'default'} }, ];
+$export_formats{'accountcode_default'} =
+  [ @{ $export_formats{'default'} }[0,1],
+    'accountcode',
+    @{ $export_formats{'default'} }[2..5],
+  ];
 
 sub downstream_csv {
   my( $self, %opt ) = @_;



More information about the freeside-commits mailing list