>
% unless ( !$target || $target{$target}++ ) {
% }
<% time2str("%D",$item->{'date'}) %>
% if ( $target && $target{$target} == 1 ) {
% }
|
<% $item->{'desc'} %>
|
<% $charge %>
|
<% $payment %>
|
<% $credit %>
|
<% $refund %>
|
<% $showbalance %>
|
% }
%if ( scalar(@history) && $hidden && ! $seen++ ) {
% balance_forward_row($balance, $lastdate);
%}
<%init>
my( $cust_main ) = @_;
my $custnum = $cust_main->custnum;
my $conf = new FS::Conf;
my $curuser = $FS::CurrentUser::CurrentUser;
my @payby = grep /\w/, $conf->config('payby');
#@payby = (qw( CARD DCRD CHEK DCHK LECB BILL CASH WEST COMP ))
@payby = (qw( CARD DCRD CHEK DCHK LECB BILL CASH COMP ))
unless @payby;
my %payby = map { $_=>1 } @payby;
%init>