<& /elements/tr-selectmultiple-part_pkg.html &>
+% my $conf = new FS::Conf;
+% if ( $conf->exists('svc_acct-tower_sector')
+% and FS::tower_sector->count > 0 ) {
+ <& /elements/tr-select-tower_sector.html,
+ 'multiple' => 1,
+ 'label' => 'Tower/Sector',
+ &>
+% }
+
+
<TR>
<TH CLASS="background" COLSPAN=2> </TH>
</TR>
<%init>
die "access denied"
- unless $FS::CurrentUser::CurrentUser->access_right('List packages'); #?
+ unless $FS::CurrentUser::CurrentUser->access_right('Services: Accounts: Advanced search'); #?
-my $title = emt('Account Report');
+my $title = mt('Account Report');
#false laziness w/report_cust_pkg.html
my $custnum = '';
'hashref' => { 'custnum' => $custnum },
'extra_sql' => ' AND '. $FS::CurrentUser::CurrentUser->agentnums_sql,
}) or die "unknown custnum $custnum";
- $title = emt("Account Report: [_1]", $cust_main->name);
+ $title = mt("Account Report: [_1]", $cust_main->name);
}
</%init>