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 % # Selecting contacts and prospects at the same time has been sacrificed
14 % # for agent virtualization
15 <& /elements/tr-select.html,
16 'label' => 'Contact source:',
18 'options' => [ 'prospect_main', 'cust_main' ],
19 'labels' => { 'prospect_main' => 'Prospect contacts',
20 'cust_main' => 'Customer contacts',
22 'curr_value' => scalar( $cgi->param('link') ),
25 <& /elements/tr-checkbox-multiple.html,
26 label => emt('Destinations').':',
28 options => [ 'message', 'invoice' ],
30 invoice => 'Invoice recipients',
31 message => 'Message recipients',
33 value => { message => 1 },
36 <& /elements/tr-select-multiple-contact_class.html,
37 label => emt('Contact Type').':',
46 <INPUT TYPE="submit" VALUE="<% mt('Get Report') |h %>">
50 <& /elements/footer.html &>
54 unless $FS::CurrentUser::CurrentUser->access_right('List contacts');
56 my $conf = new FS::Conf;
58 my $title = 'Contact Report';