projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
redisable rt apachectl
[freeside.git]
/
httemplate
/
search
/
report_cust_main.html
diff --git
a/httemplate/search/report_cust_main.html
b/httemplate/search/report_cust_main.html
index
6721174
..
0ef5a51
100755
(executable)
--- a/
httemplate/search/report_cust_main.html
+++ b/
httemplate/search/report_cust_main.html
@@
-1,4
+1,4
@@
-<
% include('/elements/header.html', 'Customer Report' ) %
>
+<
& /elements/header.html, mt('Customer Report') &
>
<FORM ACTION="cust_main.html" METHOD="GET">
<INPUT TYPE="hidden" NAME="magic" VALUE="bill">
<FORM ACTION="cust_main.html" METHOD="GET">
<INPUT TYPE="hidden" NAME="magic" VALUE="bill">
@@
-6,66
+6,56
@@
<TABLE BGCOLOR="#cccccc" CELLSPACING=0>
<TR>
<TABLE BGCOLOR="#cccccc" CELLSPACING=0>
<TR>
- <TH CLASS="background" COLSPAN=2 ALIGN="left"><FONT SIZE="+1">
Search options
</FONT></TH>
+ <TH CLASS="background" COLSPAN=2 ALIGN="left"><FONT SIZE="+1">
<% mt('Search options') |h %>
</FONT></TH>
</TR>
</TR>
- <
% include( '/elements/tr-select-agent.html'
,
+ <
& /elements/tr-select-agent.html
,
'curr_value' => scalar($cgi->param('agentnum')),
'disable_empty' => 0,
'curr_value' => scalar($cgi->param('agentnum')),
'disable_empty' => 0,
- )
- %>
+ &>
- <% include( '/elements/tr-select-cust_main-status.html',
- 'label' => 'Status'
- )
- %>
+ <& /elements/tr-select-cust_main-status.html,
+ 'label' => emt('Status'),
+ &>
- <
% include( '/elements/tr-select-cust_class.html'
,
- 'label' =>
'Class'
,
+ <
& /elements/tr-select-cust_class.html
,
+ 'label' =>
emt('Class')
,
'multiple' => 1,
'multiple' => 1,
- 'pre_options' => [ '' =>
'(none)'
],
+ 'pre_options' => [ '' =>
emt('(none)')
],
'all_selected' => 1,
'all_selected' => 1,
- )
- %>
+ &>
<TR>
<TR>
- <TD ALIGN="right" VALIGN="center">
Address
</TD>
+ <TD ALIGN="right" VALIGN="center">
<% mt('Address') |h %>
</TD>
<TD><INPUT TYPE="text" NAME="address" SIZE=54></TD>
</TR>
<TD><INPUT TYPE="text" NAME="address" SIZE=54></TD>
</TR>
-% foreach my $field (qw( signupdate )) {
-
- <TR>
- <TD ALIGN="right" VALIGN="center"><% $label{$field} %></TD>
+ <TR>
+ <TD ALIGN="right" VALIGN="center"><% mt('Signup date') |h %></TD>
<TD>
<TD>
- <TABLE>
- <% include( '/elements/tr-input-beginning_ending.html',
- prefix => $field,
- layout => 'horiz',
- )
- %>
- </TABLE>
+ <TABLE>
+ <& /elements/tr-input-beginning_ending.html,
+ prefix => 'signupdate',
+ layout => 'horiz',
+ &>
+ </TABLE>
</TD>
</TD>
- </TR>
-
-% }
+ </TR>
- <
% include( '/elements/tr-select-cust_tag.html'
,
-
'cgi'
=> $cgi,
- 'is_report' => 1,
+ <
& /elements/tr-select-cust_tag.html
,
+
'cgi'
=> $cgi,
+
'is_report' => 1,
'multiple' => 1,
'multiple' => 1,
- )
- %>
+ &>
- <
% include( '/elements/tr-select-payby.html'
,
+ <
& /elements/tr-select-payby.html
,
'payby_type' => 'cust',
'multiple' => 1,
'all_selected' => 1,
'payby_type' => 'cust',
'multiple' => 1,
'all_selected' => 1,
- )
- %>
+ &>
<TR>
<TR>
- <TD ALIGN="right">
Payment expiration before
</TD>
+ <TD ALIGN="right">
<% mt('Payment expiration before') |h %>
</TD>
<TD>
<SELECT NAME="paydate_month" DISABLED>
% foreach my $month ( 1 .. 12 ) {
<TD>
<SELECT NAME="paydate_month" DISABLED>
% foreach my $month ( 1 .. 12 ) {
@@
-96,36
+86,34
@@
</SCRIPT>
<TR>
</SCRIPT>
<TR>
- <TD ALIGN="right">
Invoice terms
</TD>
+ <TD ALIGN="right">
<% mt('Invoice terms') |h %>
</TD>
<TD>
<TD>
- <
% include( '/elements/select-terms.html'
,
- 'pre_options' => [ '' =>
'all'
],
+ <
& /elements/select-terms.html
,
+ 'pre_options' => [ '' =>
emt('all')
],
'empty_value' => 'NULL',
'empty_value' => 'NULL',
- )
- %>
+ &>
</TD>
</TR>
</TD>
</TR>
- <
% include( '/elements/tr-input-lessthan_greaterthan.html'
,
- label =>
'Current balance'
,
+ <
& /elements/tr-input-lessthan_greaterthan.html
,
+ label =>
emt('Current balance')
,
field => 'current_balance',
field => 'current_balance',
- )
- %>
+ &>
<TR>
<TR>
- <TD ALIGN="right" VALIGN="center">
Include cancelled packages
</TD>
+ <TD ALIGN="right" VALIGN="center">
<% mt('Include cancelled packages') |h %>
</TD>
<TD><INPUT TYPE="checkbox" NAME="cancelled_pkgs"></TD>
</TR>
<TR>
<TD><INPUT TYPE="checkbox" NAME="cancelled_pkgs"></TD>
</TR>
<TR>
- <TD ALIGN="right" VALIGN="center">
Without census tract
</TD>
+ <TD ALIGN="right" VALIGN="center">
<% mt('Without census tract') |h %>
</TD>
<TD><INPUT TYPE="checkbox" NAME="no_censustract"></TD>
</TR>
% if ( $conf->exists('enable_taxproducts') ) {
<TR>
<TD><INPUT TYPE="checkbox" NAME="no_censustract"></TD>
</TR>
% if ( $conf->exists('enable_taxproducts') ) {
<TR>
- <TD ALIGN="right" VALIGN="center">
With hardcoded tax location
</TD>
+ <TD ALIGN="right" VALIGN="center">
<% mt('With hardcoded tax location') |h %>
</TD>
<TD><INPUT TYPE="checkbox" NAME="with_geocode"></TD>
</TR>
<TD><INPUT TYPE="checkbox" NAME="with_geocode"></TD>
</TR>
@@
-136,22
+124,22
@@
</TR>
<TR>
</TR>
<TR>
- <TH CLASS="background" COLSPAN=2 ALIGN="left"><FONT SIZE="+1">
Display options
</FONT></TH>
+ <TH CLASS="background" COLSPAN=2 ALIGN="left"><FONT SIZE="+1">
<% mt('Display options') |h %>
</FONT></TH>
</TR>
</TR>
- <
% include( '/elements/tr-select-cust-fields.html' ) %
>
+ <
& /elements/tr-select-cust-fields.html &
>
<TR>
<TR>
- <TD ALIGN="right" VALIGN="center">
Add package columns
</TD>
+ <TD ALIGN="right" VALIGN="center">
<% mt('Add package columns') |h %>
</TD>
<TD><INPUT TYPE="checkbox" NAME="flattened_pkgs"></TD>
</TR>
</TABLE>
<BR>
<TD><INPUT TYPE="checkbox" NAME="flattened_pkgs"></TD>
</TR>
</TABLE>
<BR>
-<INPUT TYPE="submit" VALUE="
Get Report
">
+<INPUT TYPE="submit" VALUE="
<% mt('Get Report') |h %>
">
</FORM>
</FORM>
-<
% include('/elements/footer.html') %
>
+<
& /elements/footer.html &
>
<%init>
die "access denied"
<%init>
die "access denied"
@@
-162,10
+150,3
@@
die "access denied"
my $conf = new FS::Conf;
</%init>
my $conf = new FS::Conf;
</%init>
-<%once>
-
-my %label = (
- 'signupdate' => 'Signup date',
-);
-
-</%once>