X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fsearch%2Freport_cust_credit.html;h=96c0b5acbbb088bbbed33caeb021e4ee07685940;hp=8ca52dc9a43c08f7ae50e41d48c8d5a254721e77;hb=3ce7691203a7737406bf2d4442f7fd84b81f847e;hpb=15e561850b61b10a92a46d8f3e316d53d4970087 diff --git a/httemplate/search/report_cust_credit.html b/httemplate/search/report_cust_credit.html index 8ca52dc9a..96c0b5acb 100644 --- a/httemplate/search/report_cust_credit.html +++ b/httemplate/search/report_cust_credit.html @@ -1,4 +1,4 @@ -<%= include('/elements/header.html', 'Credit report' ) %> +<% include('/elements/header.html', 'Credit report' ) %>
@@ -6,28 +6,30 @@ +% +% my $sth = dbh->prepare("SELECT DISTINCT otaker FROM cust_credit") +% or die dbh->errstr; +% $sth->execute or die $sth->errstr; +% my @otakers = map { $_->[0] } @{$sth->fetchall_arrayref}; +% -<% - my $sth = dbh->prepare("SELECT DISTINCT otaker FROM cust_credit") - or die dbh->errstr; - $sth->execute or die $sth->errstr; - my @otakers = map { $_->[0] } @{$sth->fetchall_arrayref}; -%> - <%= include( '/elements/tr-select-agent.html', + <% include( '/elements/tr-select-agent.html', $cgi->param('agentnum'), 'label' => 'for agent: ', ) %> - <%= include( '/elements/tr-input-beginning_ending.html' ) %> + <% include( '/elements/tr-input-beginning_ending.html' ) %>
Credits by employee:

@@ -35,4 +37,4 @@
-<%= include('/elements/footer.html') %> +<% include('/elements/footer.html') %>