X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fsearch%2Freport_cust_credit.html;h=ab481025e34c92e1f8d0d28ebf6aeb0cbd1800a9;hp=3a14f44e2b6f3c0aca249f64f3fcfee4b3d09e88;hb=39fd666a49b2be516967131a46891f17ce0101da;hpb=34647c32b50ce3b8ee1b6d3d7aef4ba9d0297bdb diff --git a/httemplate/search/report_cust_credit.html b/httemplate/search/report_cust_credit.html index 3a14f44e2..ab481025e 100644 --- a/httemplate/search/report_cust_credit.html +++ b/httemplate/search/report_cust_credit.html @@ -1,68 +1,50 @@ - - - Credit report criteria - - - - - - -

Credit report criteria

-
- - - - -<% - 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}; -%> - - - - - - - - - - - - - - - - -
Credits by employee: -
for agent: -
From:
m/d/y
To:
m/d/y
-
-
- - +<% include('/elements/header.html', 'Credit report' ) %> + +
+ + + + + + + + + + <% include( '/elements/tr-select-agent.html', + $cgi->param('agentnum'), + 'label' => 'for agent: ', + ) + %> + + <% include( '/elements/tr-input-beginning_ending.html' ) %> + + <% include( '/elements/tr-input-lessthan_greaterthan.html', + 'label' => 'Amount', + 'field' => 'amount', + ) + %> + +
Credits by employee: + +
+ +
+ + +
+ +<% include('/elements/footer.html') %> + +<%init> + +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}; + +