diff options
author | levinse <levinse> | 2011-05-21 18:46:33 +0000 |
---|---|---|
committer | levinse <levinse> | 2011-05-21 18:46:33 +0000 |
commit | e168ca3db2702bd9a540316cd9bd840238dd19ce (patch) | |
tree | bd44fa2aa4ca6da1c022127d91a501d5bf1a37b1 /httemplate/search/report_receivables.html | |
parent | 2db5d3e1c4d5a48ad15b59efd2f66957937421aa (diff) |
internationalization/localization, RT12515
Diffstat (limited to 'httemplate/search/report_receivables.html')
-rwxr-xr-x | httemplate/search/report_receivables.html | 47 |
1 files changed, 29 insertions, 18 deletions
diff --git a/httemplate/search/report_receivables.html b/httemplate/search/report_receivables.html index e85d78697..e19877d06 100755 --- a/httemplate/search/report_receivables.html +++ b/httemplate/search/report_receivables.html @@ -1,4 +1,4 @@ -<% include('/elements/header.html', 'Accounts Receivable Aging Summary' ) %> +<& /elements/header.html, emt('Accounts Receivable Aging Summary') &> <FORM NAME="OneTrueForm" ACTION="report_receivables.cgi" METHOD="GET"> @@ -6,19 +6,18 @@ <TR> <TH CLASS="background" COLSPAN=2 ALIGN="left"> - <FONT SIZE="+1">Search options</FONT> + <FONT SIZE="+1"><% mt('Search options') |h %></FONT> </TH> </TR> - <% include( '/elements/tr-select-agent.html', 'disable_empty'=>0 ) %> + <& /elements/tr-select-agent.html, 'disable_empty'=>0 &> - <% include( '/elements/tr-select-cust_main-status.html', - 'label' => 'Customer Status' - ) - %> + <& /elements/tr-select-cust_main-status.html, + 'label' => emt('Customer Status'), + &> <TR> - <TD ALIGN="right">Customers</TD> + <TD ALIGN="right"><% mt('Customers') |h %></TD> <TD> <SCRIPT TYPE="text/javascript"> function toggle(obj) { @@ -30,28 +29,40 @@ function toggle(obj) { } </SCRIPT> <TABLE STYLE="padding: 0px"> - <TR><TD><INPUT TYPE="radio" NAME="all_customers" VALUE="1" onClick="toggle(this)"></TD> - <TD>All customers (even those without an outstanding balance)</TD></TR> - <TR><TD><INPUT TYPE="radio" NAME="all_customers" VALUE="0" CHECKED onClick="toggle(this)"></TD> - <TD>Customers with a balance over <INPUT NAME="days" TYPE="text" SIZE=4 MAXLENGTH=3 VALUE="0"> days old</TD></TR> - <TR><TD></TD> - <TD><INPUT TYPE="checkbox" NAME="negative" VALUE="1"> Including customers with credit balances</TD></TR> + <TR> + <TD><INPUT TYPE="radio" NAME="all_customers" VALUE="1" onClick="toggle(this)"></TD> + <TD><% mt('All customers (even those without an outstanding balance)') |h %></TD> + </TR> + <TR> + <TD><INPUT TYPE="radio" NAME="all_customers" VALUE="0" CHECKED onClick="toggle(this)"></TD> + <TD> +% my $daysinput = qq!<INPUT NAME="days" TYPE="text" SIZE=4 MAXLENGTH=3 VALUE="0">!; +% my $str = emt("Customers with a balance over [_1] days old",'XXXDAYSXXX'); # yeah it's a hack +% $str =~ s/XXXDAYSXXX/$daysinput/; + <% $str %> + </TD> + </TR> + <TR> + <TD></TD> + <TD><INPUT TYPE="checkbox" NAME="negative" VALUE="1"> <% mt('Including customers with credit balances') |h %></TD> + </TR> </TABLE> </TD> </TR> - <% include( '/elements/tr-input-date-field.html', { + <& /elements/tr-input-date-field.html, { 'name' => 'as_of', 'value' => time, - 'label' => 'As of date ', + 'label' => emt('As of date '), 'format' => FS::Conf->new->config('date_format') || '%m/%d/%Y', - } ) %> + } + &> </TABLE> <BR><INPUT TYPE="submit" VALUE="Get Report"> </FORM> -<% include('/elements/footer.html') %> +<& /elements/footer.html &> <%init> |