[freeside-commits] freeside/FS/FS cdr.pm,1.66.2.2,1.66.2.3
Erik Levinson
levinse at wavetail.420.am
Mon Feb 21 08:36:44 PST 2011
Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail.420.am:/tmp/cvs-serv2292/FS/FS
Modified Files:
Tag: FREESIDE_2_1_BRANCH
cdr.pm
Log Message:
invoice customizations, RT11467
Index: cdr.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/cdr.pm,v
retrieving revision 1.66.2.2
retrieving revision 1.66.2.3
diff -u -w -d -r1.66.2.2 -r1.66.2.3
--- cdr.pm 24 Jan 2011 23:06:50 -0000 1.66.2.2
+++ cdr.pm 21 Feb 2011 16:36:41 -0000 1.66.2.3
@@ -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