1 <& /elements/header.html, mt($title) &>
3 <FORM ACTION="contact.html" METHOD="GET">
5 <TABLE BGCOLOR="#cccccc" CELLSPACING=0>
7 <& /elements/tr-select-agent.html,
8 'curr_value' => scalar( $cgi->param('agentnum') ),
9 'label' => emt('Contacts for agent: '),
13 <& /elements/tr-select.html,
14 'label' => 'Contact source', #??? not "type" - contacts have a type
16 'options' => [ 'prospect_main', 'cust_main', '' ],
17 'labels' => { 'prospect_main' => 'Prospect contacts',
18 'cust_main' => 'Customer contacts',
21 'curr_value' => scalar( $cgi->param('link') ),
29 <INPUT TYPE="submit" VALUE="<% mt('Get Report') |h %>">
33 <& /elements/footer.html &>
37 unless $FS::CurrentUser::CurrentUser->access_right('List contacts');
39 my $conf = new FS::Conf;
41 my $title = 'Contact Report';