X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fview%2Fcust_statement.html;h=87a185fab2aa7a9aef3e7b440b3fa5bb30480aa9;hb=refs%2Fheads%2F24899_agent_virt_attach_report;hp=74c80d3bc5d0d5f2dccf399b528e88314802786d;hpb=06187016fd78ba41fb82846b9e8d461405f316b6;p=freeside.git
diff --git a/httemplate/view/cust_statement.html b/httemplate/view/cust_statement.html
index 74c80d3bc..87a185fab 100755
--- a/httemplate/view/cust_statement.html
+++ b/httemplate/view/cust_statement.html
@@ -24,7 +24,7 @@
% #if ( $conf->exists('invoice_latex') ) {
% if ( 0 ) { #broken???
- View typeset statement
+ View typeset statement
% }
@@ -35,10 +35,10 @@
% if ( $conf->exists('invoice_html') ) {
- <% join('', $cust_statement->print_html('', $templatename) ) %>
+ <% join('', $cust_statement->print_html('template' => $templatename) ) %>
% } else {
-
<% join('', $cust_statement->print_text('', $templatename) ) %>+
<% join('', $cust_statement->print_text('template' => $templatename) ) %>% } <% include('/elements/footer.html') %> @@ -55,12 +55,6 @@ my $statementnum = $3; my $conf = new FS::Conf; -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; - my $cust_statement = qsearchs({ 'select' => 'cust_statement.*', 'table' => 'cust_statement',