<INPUT TYPE="hidden" NAME="magic" VALUE="advanced">
<INPUT TYPE="hidden" NAME="custnum" VALUE="<% $custnum %>">
- <TABLE BGCOLOR="#cccccc" CELLSPACING=0>
-
- <TR>
- <TH CLASS="background" COLSPAN=2 ALIGN="left"><FONT SIZE="+1"><% mt('Search options') |h %></FONT></TH>
- </TR>
+ <FONT CLASS="fsinnerbox-title"><% emt('Search options') %></FONT>
+ <TABLE CLASS="fsinnerbox">
% unless ( $custnum ) {
<& /elements/tr-select-agent.html,
<TD>
<TABLE>
<TR>
- <TD ALIGN="right" VALIGN="center" ID="<% $field."_label" %>">
+ <TH ALIGN="right" VALIGN="center" ID="<% $field."_label" %>">
<% $label{$field} %>
- </TD>
- <TD>
+ </TH>
+ <TH>
<INPUT NAME="<% $invert %>" ID="<% $invert %>" TYPE="hidden">
<A HREF="javascript:void(0)" onClick="toggle('<% $field %>'); return false;"><% mt('Invert') |h %></A>
- </TD>
+ </TH>
</TR>
</TABLE>
</TD>
<& /elements/tr-selectmultiple-part_pkg.html &>
+ <& /elements/tr-select-part_svc.html, svcdb=>'svc_acct' &>
+
% my $conf = new FS::Conf;
% if ( $conf->exists('svc_acct-tower_sector')
% and FS::tower_sector->count > 0 ) {
% }
- <TR>
- <TH CLASS="background" COLSPAN=2> </TH>
- </TR>
-
- <TR>
- <TH CLASS="background" COLSPAN=2 ALIGN="left"><FONT SIZE="+1"><% mt('Display options') |h %></FONT></TH>
- </TR>
+ </TABLE>
+ <BR>
+ <FONT CLASS="fsinnerbox-title"><% emt('Display options') %></FONT>
+ <TABLE CLASS="fsinnerbox">
+
% #move to /elements/tr-select-cust_pkg-fields if anything else needs it...
<TR>
- <TD ALIGN="right"><% mt('Package fields') |h %></TD>
+ <TH ALIGN="right"><% mt('Package fields') |h %></TH>
<TD>
<SELECT NAME="cust_pkg_fields">
<OPTION VALUE=""><% mt('(none)') |h %>
<%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>