internationalization/localization, RT12515
[freeside.git] / httemplate / search / report_cust_bill.html
1 <& /elements/header.html, emt('Invoice Report') &>
2
3 <FORM ACTION="cust_bill.html" METHOD="GET">
4 <INPUT TYPE="hidden" NAME="magic" VALUE="_date">
5
6 <TABLE BGCOLOR="#cccccc" CELLSPACING=0
7
8   <& /elements/tr-select-agent.html,
9                  'curr_value'    => scalar( $cgi->param('agentnum') ),
10                  'label'         => emt('Invoices for agent: '),
11                  'disable_empty' => 0,
12   &>
13
14   <& /elements/tr-input-beginning_ending.html &>
15
16   <& /elements/tr-input-lessthan_greaterthan.html,
17                 label   => emt('Charged'),
18                 field   => 'charged',
19   &>
20
21   <& /elements/tr-input-lessthan_greaterthan.html,
22                 label   => emt('Owed'),
23                 field   => 'owed',
24   &>
25   <& /elements/tr-select-payby.html,
26                 label   => emt('Payment method:'),
27                 payby_type   => 'cust',
28                 multiple     => 1,
29                 all_selected => 1,
30   &>
31
32   <TR>
33     <TD ALIGN="right"><INPUT TYPE="checkbox" NAME="open" VALUE="1" CHECKED></TD>
34     <TD><% mt('Show only open invoices') |h %></TD>
35   </TR>
36   <TR>
37     <TD ALIGN="right"><INPUT TYPE="checkbox" NAME="newest_percust" VALUE="1"></TD>
38     <TD><% mt('Show only the single most recent invoice per-customer') |h %></TD>
39   </TR>
40
41 </TABLE>
42
43 <BR>
44 <INPUT TYPE="submit" VALUE="<% mt('Get Report') |h %>">
45
46 </FORM>
47
48 <& /elements/footer.html &>
49 <%init>
50
51 die "access denied"
52   unless $FS::CurrentUser::CurrentUser->access_right('List invoices');
53
54 </%init>