projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
remove "failed billing events" report, and add "completed with an error" status searc...
[freeside.git]
/
httemplate
/
search
/
report_svc_acct.html
diff --git
a/httemplate/search/report_svc_acct.html
b/httemplate/search/report_svc_acct.html
index
ea6cd6f
..
e47f727
100755
(executable)
--- a/
httemplate/search/report_svc_acct.html
+++ b/
httemplate/search/report_svc_acct.html
@@
-72,6
+72,16
@@
<& /elements/tr-selectmultiple-part_pkg.html &>
<& /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>
<TR>
<TH CLASS="background" COLSPAN=2> </TH>
</TR>
@@
-104,9
+114,9
@@
<%init>
die "access denied"
<%init>
die "access denied"
- unless $FS::CurrentUser::CurrentUser->access_right('
List packages
'); #?
+ unless $FS::CurrentUser::CurrentUser->access_right('
Services: Accounts: Advanced search
'); #?
-my $title =
e
mt('Account Report');
+my $title = mt('Account Report');
#false laziness w/report_cust_pkg.html
my $custnum = '';
#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";
'hashref' => { 'custnum' => $custnum },
'extra_sql' => ' AND '. $FS::CurrentUser::CurrentUser->agentnums_sql,
}) or die "unknown custnum $custnum";
- $title =
e
mt("Account Report: [_1]", $cust_main->name);
+ $title = mt("Account Report: [_1]", $cust_main->name);
}
</%init>
}
</%init>