X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fsearch%2Freport_svc_acct.html;h=e47f727263539cbcd74f2932705b5c3b3e532186;hp=ea6cd6fc054727a25bdf25161bba8ac68da067bd;hb=11bbf29de447fe39e9d7155fe280a0df70fa8c3c;hpb=ddde2be8e3d2cd0e61da2f68d4c06a6b31c50562 diff --git a/httemplate/search/report_svc_acct.html b/httemplate/search/report_svc_acct.html index ea6cd6fc0..e47f72726 100755 --- a/httemplate/search/report_svc_acct.html +++ b/httemplate/search/report_svc_acct.html @@ -72,6 +72,16 @@ <& /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', + &> +% } + +   @@ -104,9 +114,9 @@ <%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 = ''; @@ -117,7 +127,7 @@ if ( $cgi->param('custnum') =~ /^(\d+)$/ ) { '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); }