delete fees, RT#81713
[freeside.git] / FS / FS / detail_format / simple.pm
1 package FS::detail_format::simple;
2
3 use strict;
4 use base qw(FS::detail_format);
5
6 sub name { 'Simple' }
7
8 sub header_detail { 'Date,Time,Name,Destination,Duration,Price' }
9
10 sub columns {
11   my $self = shift;
12   my $cdr = shift;
13   (
14     $self->time2str_local($self->date_format, $cdr->startdate),
15     $self->time2str_local('%r', $cdr->startdate),
16     $cdr->userfield,
17     $cdr->dst,
18     $self->duration($cdr),
19     $self->price($cdr),
20   )
21 }
22
23 1;