[freeside-commits] freeside/FS/FS cdr.pm,1.68,1.69
Erik Levinson
levinse at wavetail.420.am
Mon Feb 21 08:36:43 PST 2011
Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail.420.am:/tmp/cvs-serv2288/FS/FS
Modified Files:
cdr.pm
Log Message:
invoice customizations, RT11467
Index: cdr.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/cdr.pm,v
retrieving revision 1.68
retrieving revision 1.69
diff -u -w -d -r1.68 -r1.69
--- cdr.pm 24 Jan 2011 23:06:49 -0000 1.68
+++ cdr.pm 21 Feb 2011 16:36:40 -0000 1.69
@@ -525,6 +525,10 @@
'invoice_header' => "Date,Time,Called From,Destination,Duration,Price",
#"Date,Time,Name,Called From,Destination,Duration,Price",
},
+ 'basic' => {
+ 'name' => 'Basic',
+ 'invoice_header' => "Date/Time,Called Number,Min/Sec,Price",
+ },
'default' => {
'name' => 'Default',
'invoice_header' => 'Date,Time,Number,Destination,Duration,Price',
@@ -585,6 +589,12 @@
#sub { sprintf('%.3f', shift->upstream_price ) }, #PRICE
sub { my($cdr, %opt) = @_; $opt{money_char}. $opt{charge}; }, #PRICE
],
+ 'basic' => [
+ sub { time2str('%d %b - %I:%M %p', shift->calldate_unix) },
+ 'dst',
+ $duration_sub,
+ sub { my($cdr, %opt) = @_; $opt{money_char}. $opt{charge}; }, #PRICE
+ ],
'default' => [
#DATE
More information about the freeside-commits
mailing list