deposit slips
[freeside.git] / httemplate / search / report_cust_attachment.html
1 <& /elements/header.html, mt('Customer attachment report') &>
2
3 <FORM ACTION="cust_attachment.html" METHOD="GET">
4
5 <FONT CLASS="fsinnerbox-title"><% emt('Attachment search options') %></FONT>
6 <TABLE CLASS="fsinnerbox">
7
8   <& /elements/tr-select-agent.html &>
9
10 % if ( $curuser->access_right('View deleted attachments') ) {
11
12     <& /elements/tr-checkbox.html,
13          'label' => 'Show deleted attachments',
14          'field' => 'show_deleted',
15          'value' => 1,
16     &>
17
18 % }
19
20 </TABLE>
21 <BR><BR>
22
23 <FONT CLASS="fsinnerbox-title"><% emt('Display options') %></FONT>
24 <TABLE CLASS="fsinnerbox">
25
26     <& /elements/tr-select-cust-fields.html &>
27
28 </TABLE>
29
30 <BR>
31 <INPUT TYPE="submit" VALUE="<% emt('Get Report') %>">
32
33 </FORM>
34
35 <& /elements/footer.html &>
36 <%init>
37
38 my $curuser = $FS::CurrentUser::CurrentUser;
39 die "access denied" if !$curuser->access_right('View attachments')
40                     || !$curuser->access_right('Browse attachments');
41
42 </%init>