1 <& /elements/header.html, mt($title) &>
3 <FORM ACTION="cust_timespan.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' => 'Customer status',
15 'field' => 'cust_status',
16 'options' => [ 'cancelled', 'suspended'],
17 'labels' => { 'cancelled' => 'Cancelled Customers',
18 'suspended' => 'Suspended Customers',
20 'curr_value' => scalar( $cgi->param('cust_status') ),
23 <& /elements/tr-input-beginning_ending.html &>
30 <INPUT TYPE="submit" VALUE="<% mt('Get Report') |h %>">
34 <& /elements/footer.html &>
38 unless $FS::CurrentUser::CurrentUser->access_right('List contacts');
40 my $conf = new FS::Conf;
42 my $title = 'Customer Timespan Report';