%# batched payment links
% if ( ( $conf->exists('batch-enable') || $conf->config('batch-enable_payby') )
% && $curuser->access_right('View customer batched payments')
% )
% {
<% mt('View batched payments:') |h %>
% foreach my $status (qw( Queued In-transit Complete All )) {
<% mt($status) |h %>
<% $status ne 'All' ? '|' : '' %>
% }
% } |
||||||
%# and now the table <& /elements/table-grid.html &> % my $bgcolor1 = '#eeeeee'; % my $bgcolor2 = '#ffffff'; % my $bgcolor = ''; | ||||||
<% mt('Date') |h %> | <% mt('Description') |h %> | <% mt('Invoice') |h %> | <% mt('Payment') |h %> | <% mt('In-house Credit') |h %> | <% mt('Refund') |h %> | <% mt('Balance') |h %> |
---|---|---|---|---|---|---|
% unless ( !$target || $target{$target}++ ) { % } <% time2str($date_format, $item->{'date'}) %> % if ( $target && $target{$target} == 1 ) { % } | <% $item->{'desc'} %> | <% $charge %> | <% $payment %> | <% $credit %> | <% $refund %> | <% $showbalance %> |