diff options
| author | levinse <levinse> | 2011-02-21 16:36:41 +0000 | 
|---|---|---|
| committer | levinse <levinse> | 2011-02-21 16:36:41 +0000 | 
| commit | 21b0d1fe1f7126cae50c880a736c733e3529d28f (patch) | |
| tree | 24bff12e7178ed86f735af18ec5b860e15f37cf0 | |
| parent | 9c1ac2a6979365f4fe74021a10c014f6bfae095a (diff) | |
invoice customizations, RT11467
| -rw-r--r-- | FS/FS/cdr.pm | 10 | 
1 files changed, 10 insertions, 0 deletions
diff --git a/FS/FS/cdr.pm b/FS/FS/cdr.pm index 478dcff6b..b7d78766e 100644 --- a/FS/FS/cdr.pm +++ b/FS/FS/cdr.pm @@ -525,6 +525,10 @@ my %export_names = (      '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 export_formats {        #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  | 
