summaryrefslogtreecommitdiff
path: root/httemplate/search/report_prospect_main.html
blob: f2e617f8864146b643176075f67c43397582bffb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<& /elements/header.html, 'Prospect Report' &>

<FORM ACTION="prospect_main.html" METHOD="GET">

  <TABLE BGCOLOR="#cccccc" CELLSPACING=0>

    <TR>
      <TH CLASS="background" COLSPAN=2 ALIGN="left"><FONT SIZE="+1">Search options</FONT></TH>
    </TR>

    <& /elements/tr-select-agent.html,
         'curr_value'    => scalar($cgi->param('agentnum')),
         'disable_empty' => 0,
    &>

    <& /elements/tr-select-part_referral.html,
         'curr_value'    => scalar($cgi->param('refnum')),
         'empty_label'   => 'all',
         'disable_empty' => 0,
    &>

  </TABLE>

<BR>
<INPUT TYPE="submit" VALUE="Get Report">

</FORM>

<& /elements/footer.html &>
<%init>

die "access denied"
  unless $FS::CurrentUser::CurrentUser->access_right('List prospects');

my $conf = new FS::Conf;

</%init>