refine disable_previous_balance behavior to show new charges only, #35222, #37396
[freeside.git] / FS / FS / detail_format / basic.pm
1 package FS::detail_format::basic;
2
3 use strict;
4 use base qw(FS::detail_format);
5
6 sub name { 'Basic' }
7
8 sub header_detail { 'Date/Time,Called Number,Min/Sec,Price' }
9
10 sub columns {
11   my $self = shift;
12   my $cdr = shift;
13   (
14     $self->time2str_local('%d %b - %I:%M %p', $cdr->startdate),
15     $cdr->dst,
16     $self->duration($cdr),
17     $self->price($cdr),
18   )
19 }
20
21 1;