<& /elements/header.html, mt($title) &>
%# This has never been actually supported on this report. %# Remove the selectbox until support is implemented %# %# <& /elements/tr-select-agent.html, %# 'curr_value' => scalar( $cgi->param('agentnum') ), %# 'label' => emt('Contacts for agent: '), %# 'disable_empty' => 0, %# &> <& /elements/tr-select.html, 'label' => 'Contact source:', #??? not "type" - contacts have a type 'field' => 'link', 'options' => [ 'prospect_main', 'cust_main', 'both' ], 'labels' => { 'prospect_main' => 'Prospect contacts', 'cust_main' => 'Customer contacts', 'both' => 'All contacts', }, 'curr_value' => scalar( $cgi->param('link') ), &> <& /elements/tr-checkbox-multiple.html, label => emt('Destinations').':', field => 'dest', options => [ 'message', 'invoice' ], labels => { invoice => 'Invoice recipients', message => 'Message recipients', }, value => { message => 1 }, &> <& /elements/tr-select-multiple-contact_class.html, label => emt('Contact Type').':', field => 'classnum', &>

<& /elements/footer.html &> <%init> die "access denied" unless $FS::CurrentUser::CurrentUser->access_right('List contacts'); my $conf = new FS::Conf; my $title = 'Contact Report';