fix A/R report
[freeside.git] / httemplate / search / report_cust_credit_source_bill_pkg.html
1 <& /elements/header.html, mt('Credit package source report') &>
2
3 <FORM ACTION="cust_credit_source_bill_pkg.html" METHOD="GET">
4 <!--<INPUT TYPE="hidden" NAME="magic" VALUE="_date">-->
5
6 <TABLE BGCOLOR="#cccccc" CELLSPACING=0>
7
8 <& /elements/tr-select-user.html,
9               'label'       => emt('Employee: '),
10               'access_user' => $access_user,
11 &>
12
13 <& /elements/tr-select-agent.html,
14      curr_value    => scalar( $cgi->param('agentnum') ),
15      #label         => emt('Line items for agent: '),
16      disable_empty => 0,
17 &>
18
19 <!--
20 <& /elements/tr-select-cust_main-status.html,
21      label => emt('Customer status'),
22 &>
23 -->
24
25 <!-- customer
26 <& /elements/tr-select-cust_class.html,
27      'label'        => emt('Class'),
28      'field'        => 'cust_classnum',
29      'multiple'     => 1,
30      'pre_options'  => [ '' => emt('(none)') ],
31      'all_selected' => 1,
32 &>
33 -->
34
35 <!-- some sort of label saying this is the credit date... -->
36 <& /elements/tr-input-beginning_ending.html,
37      'prefix' => 'credit',
38 &>
39
40 <!--
41 <& /elements/tr-input-lessthan_greaterthan.html,
42      label   => emt('Amount'),
43      field   => 'amount',
44 &>
45 -->
46
47 </TABLE>
48
49 <BR>
50 <INPUT TYPE="submit" VALUE="<% mt('Get Report') |h %>">
51
52 </FORM>
53
54 <& /elements/footer.html &>
55 <%init>
56
57 #Financial reports?
58 die "access denied"
59   unless $FS::CurrentUser::CurrentUser->access_right('Financial reports');
60
61 my $access_user = $FS::CurrentUser::CurrentUser->access_users_hashref('table' => 'cust_credit');
62
63 my $conf = new FS::Conf;
64
65 </%init>
66