X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fsearch%2Freport_cust_credit.html;h=8ca52dc9a43c08f7ae50e41d48c8d5a254721e77;hb=a0732f52fdcc2bca7c399d1249ccceb191de51cd;hp=1b30685dcec075465a02712c5e7893d9f2fd446e;hpb=47208f7694a6ec1cb979d7d0da7848dfe0e0aa7b;p=freeside.git diff --git a/httemplate/search/report_cust_credit.html b/httemplate/search/report_cust_credit.html index 1b30685dc..8ca52dc9a 100644 --- a/httemplate/search/report_cust_credit.html +++ b/httemplate/search/report_cust_credit.html @@ -1,54 +1,38 @@ - - - Payment report criteria - - - - - - -

Payment report criteria

-
- - - - - - - - - - - - - - - -
Payments of type: -
From:
m/d/y
To:
m/d/y
-
-
- - +<%= include('/elements/header.html', 'Credit report' ) %> + +
+ + + + + + +<% + 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', + $cgi->param('agentnum'), + 'label' => 'for agent: ', + ) + %> + <%= include( '/elements/tr-input-beginning_ending.html' ) %> +
Credits by employee: +
+ +
+ + +
+ +<%= include('/elements/footer.html') %>