push @style, '';
}
-push @header, emt('Date'),
+push @header, emt('Date'),
emt('By'),
emt('Reason'),
emt('Info'),
my $count_query = 'SELECT COUNT(*), SUM(amount) ';
$count_query .= ', SUM(' . FS::cust_credit->unapplied_sql . ') ' if $unapplied;
-$count_query .= 'FROM cust_credit'.
+$count_query .= 'FROM cust_credit'.
$addl_from. FS::UI::Web::join_cust_main('cust_credit').
$where;