diff options
author | Ivan Kohler <ivan@freeside.biz> | 2017-07-17 19:18:12 -0700 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2017-07-17 19:18:12 -0700 |
commit | 6f58ae775b905cd462dd0faafee95973414a45d2 (patch) | |
tree | 41b82d3dfc8d4fbfaacb78b01b19620591ee5587 | |
parent | f1a8960924a076c978bb28d6a3ca241e62438950 (diff) |
4.x style reports
-rw-r--r-- | httemplate/elements/tr-select-paybatch.html | 2 | ||||
-rw-r--r-- | httemplate/elements/tr-select-user.html | 2 | ||||
-rw-r--r-- | httemplate/search/elements/report_cust_pay_or_refund.html | 36 | ||||
-rw-r--r-- | httemplate/search/report_cust_bill.html | 42 | ||||
-rwxr-xr-x | httemplate/search/report_cust_pkg.html | 22 | ||||
-rw-r--r-- | httemplate/search/report_prospect_main.html | 7 | ||||
-rw-r--r-- | httemplate/search/report_quotation.html | 3 |
7 files changed, 44 insertions, 70 deletions
diff --git a/httemplate/elements/tr-select-paybatch.html b/httemplate/elements/tr-select-paybatch.html index aedf893db..30b8f6690 100644 --- a/httemplate/elements/tr-select-paybatch.html +++ b/httemplate/elements/tr-select-paybatch.html @@ -1,5 +1,5 @@ <TR> - <TD ALIGN="right"><% $opt{'paybatch'} || 'Payment entry batch: ' %></TD> + <TH ALIGN="right"><% $opt{'paybatch'} || 'Payment entry batch: ' %></TH> <TD> <% include( '/elements/select-paybatch.html', 'curr_value' => $selected_paybatch, %opt ) %> </TD> diff --git a/httemplate/elements/tr-select-user.html b/httemplate/elements/tr-select-user.html index a9572af8f..ba550fbc1 100644 --- a/httemplate/elements/tr-select-user.html +++ b/httemplate/elements/tr-select-user.html @@ -1,5 +1,5 @@ <TR> - <TD ALIGN="right"><% $opt{'label'} || 'Employee: ' %></TD> + <TH ALIGN="right"><% $opt{'label'} || 'Employee: ' %></TH> <TD><% include('select-user.html', %opt) %></TD> </TR> diff --git a/httemplate/search/elements/report_cust_pay_or_refund.html b/httemplate/search/elements/report_cust_pay_or_refund.html index e05f1af73..728a12f23 100644 --- a/httemplate/search/elements/report_cust_pay_or_refund.html +++ b/httemplate/search/elements/report_cust_pay_or_refund.html @@ -19,13 +19,8 @@ Examples: <INPUT TYPE="hidden" NAME="magic" VALUE="_date"> <INPUT TYPE="hidden" NAME="unapplied" VALUE="<% $unapplied %>"> -<TABLE BGCOLOR="#cccccc" CELLSPACING=0> - - <TR> - <TH CLASS="background" COLSPAN=2 ALIGN="left"> - <FONT SIZE="+1"><% mt('[_1] search options', ucfirst($name_singular)) |h %></FONT> - </TH> - </TR> + <FONT CLASS="fsinnerbox-title"><% emt('[_1] search options', ucfirst($name_singular)) %></FONT> + <TABLE CLASS="fsinnerbox"> <& /elements/tr-select.html, label => ucfirst(PL($name_singular)) . ' of type:', @@ -38,20 +33,20 @@ Examples: % if (substr($conf->config('card_masking_method'), -5) eq 'last4' || !$conf->config('card_masking_method')) { <TR> - <TD ALIGN="right"><% mt('Card Last 4 #:') |h %></TD> + <TH ALIGN="right"><% mt('Card Last 4 #:') |h %></TH> <TD> <INPUT TYPE="text" ID="paymask" NAME="paymask"> </TD> </TR> % } <TR> - <TD ALIGN="right"><% mt('Check #:') |h %> </TD> + <TH ALIGN="right"><% mt('Check #:') |h %> </TH> <TD> <INPUT TYPE="text" ID="payinfo" NAME="payinfo"> </TD> </TR> <TR> - <TD ALIGN="right"><% mt('Transaction #:') |h %> </TD> + <TH ALIGN="right"><% mt('Transaction #:') |h %> </TH> <TD> <INPUT TYPE="text" ID="ccpay" NAME="ccpay"> </TD> @@ -74,7 +69,7 @@ Examples: % } <TR> - <TD ALIGN="right" VALIGN="center"><% mt(ucfirst($name_singular). ' date') |h %></TD> + <TH ALIGN="right" VALIGN="center"><% mt(ucfirst($name_singular). ' date') |h %></TH> <TD> <TABLE> <& /elements/tr-input-beginning_ending.html, @@ -87,7 +82,7 @@ Examples: % if ( $void ) { <TR> - <TD ALIGN="right" VALIGN="center"><% mt('Voided') |h %></TD> + <TH ALIGN="right" VALIGN="center"><% mt('Voided') |h %></TH> <TD> <TABLE> <& /elements/tr-input-beginning_ending.html, @@ -119,13 +114,8 @@ Examples: <BR> -<TABLE BGCOLOR="#cccccc" CELLSPACING=0> - - <TR> - <TH CLASS="background" COLSPAN=2 ALIGN="left"> - <FONT SIZE="+1"><% mt('Customer search options') |h %></FONT> - </TH> - </TR> +<FONT CLASS="fsinnerbox-title"><% emt('Customer search options') %></FONT> +<TABLE CLASS="fsinnerbox"> <& /elements/tr-select-cust_tag.html, 'custnum' => $opt{'custnum'}, @@ -149,13 +139,9 @@ Examples: % if ( $table eq 'cust_pay' ) { <BR> - <TABLE BGCOLOR="#cccccc" CELLSPACING=0> - <TR> - <TH CLASS="background" COLSPAN=2 ALIGN="left"> - <FONT SIZE="+1"><% mt('Display options') |h %></FONT> - </TH> - </TR> + <FONT CLASS="fsinnerbox-title"><% emt('Display options') %></FONT> + <TABLE CLASS="fsinnerbox"> <& /elements/tr-checkbox.html, 'label' => emt('Include tax names'), diff --git a/httemplate/search/report_cust_bill.html b/httemplate/search/report_cust_bill.html index bd40b969b..d26ebdc90 100644 --- a/httemplate/search/report_cust_bill.html +++ b/httemplate/search/report_cust_bill.html @@ -6,13 +6,8 @@ % unless ( $custnum ) { - <TABLE BGCOLOR="#cccccc" CELLSPACING=0> - - <TR> - <TH CLASS="background" COLSPAN=2 ALIGN="left"> - <FONT SIZE="+1">Customer search options</FONT> - </TH> - </TR> + <FONT CLASS="fsinnerbox-title"><% emt('Customer search options') %></FONT> + <TABLE CLASS="fsinnerbox"> <& /elements/tr-select-agent.html, 'curr_value' => scalar( $cgi->param('agentnum') ), @@ -37,13 +32,8 @@ % } - <TABLE BGCOLOR="#cccccc" CELLSPACING=0> - - <TR> - <TH CLASS="background" COLSPAN=2 ALIGN="left"> - <FONT SIZE="+1">Invoice search options</FONT> - </TH> - </TR> + <FONT CLASS="fsinnerbox-title"><% emt('Invoice search options') %></FONT> + <TABLE CLASS="fsinnerbox"> <& /elements/tr-input-beginning_ending.html &> @@ -76,30 +66,24 @@ </TABLE> <BR> -<TABLE BGCOLOR="#cccccc" CELLSPACING=0> +<FONT CLASS="fsinnerbox-title"><% emt('Display options') %></FONT> +<TABLE CLASS="fsinnerbox"> <TR> - <TH CLASS="background" COLSPAN=2 ALIGN="left"> - <FONT SIZE="+1">Display options</FONT> - </TH> - </TR> - - -<TR> <TD ALIGN="right"><INPUT TYPE="checkbox" NAME="open" VALUE="1" CHECKED></TD> <TD><% mt('Show only open invoices') |h %></TD> -</TR> + </TR> -<TR> + <TR> <TD ALIGN="right"><INPUT TYPE="checkbox" NAME="invoiced" VALUE="1"></TD> <TD><% emt('Exclude discounts from gross amount billed'), %></TD> -</TR> + </TR> % unless ( $custnum ) { - <TR> - <TD ALIGN="right"><INPUT TYPE="checkbox" NAME="newest_percust" VALUE="1"></TD> - <TD><% mt('Show only the single most recent invoice per-customer') |h %></TD> - </TR> + <TR> + <TD ALIGN="right"><INPUT TYPE="checkbox" NAME="newest_percust" VALUE="1"></TD> + <TD><% mt('Show only the single most recent invoice per-customer') |h %></TD> + </TR> % } </TABLE> diff --git a/httemplate/search/report_cust_pkg.html b/httemplate/search/report_cust_pkg.html index 556177c8a..5e8c429ec 100755 --- a/httemplate/search/report_cust_pkg.html +++ b/httemplate/search/report_cust_pkg.html @@ -6,9 +6,8 @@ % unless ( $custnum ) { - <TABLE BGCOLOR="#cccccc" CELLSPACING=0> - - <& /elements/tr-title.html, value => mt('Customer search options') &> + <FONT CLASS="fsinnerbox-title"><% emt('Customer search options') %></FONT> + <TABLE CLASS="fsinnerbox"> <& /elements/tr-select-agent.html, 'curr_value' => scalar( $cgi->param('agentnum') ), @@ -50,9 +49,8 @@ % } - <TABLE BGCOLOR="#cccccc" CELLSPACING=0> - - <& /elements/tr-title.html, value => mt('Package search options') &> +<FONT CLASS="fsinnerbox-title"><% emt('Package search options') %></FONT> +<TABLE CLASS="fsinnerbox"> <& /elements/tr-select-sales.html, 'label' => 'Package sales person', @@ -233,7 +231,11 @@ <& /elements/tr-selectmultiple-part_pkg.html &> - <& /elements/tr-title.html, value => mt('Location search options') &> +</TABLE> +<BR> + +<FONT CLASS="fsinnerbox-title"><% emt('Location search options') %></FONT> +<TABLE CLASS="fsinnerbox"> % my @location_options = qw(cust nocust census nocensus); % if ( $conf->config('tax_data_vendor') eq 'cch' ) { @@ -253,7 +255,11 @@ 'value' => { map { $_ => 0 } @location_options }, &> - <& /elements/tr-title.html, value => mt('Display options') &> +</TABLE> +<BR> + +<FONT CLASS="fsinnerbox-title"><% emt('Display options') %></FONT> +<TABLE CLASS="fsinnerbox"> <& /elements/tr-select-cust-fields.html &> diff --git a/httemplate/search/report_prospect_main.html b/httemplate/search/report_prospect_main.html index f2e617f88..cfaf3aa5d 100644 --- a/httemplate/search/report_prospect_main.html +++ b/httemplate/search/report_prospect_main.html @@ -2,11 +2,8 @@ <FORM ACTION="prospect_main.html" METHOD="GET"> - <TABLE BGCOLOR="#cccccc" CELLSPACING=0> - - <TR> - <TH CLASS="background" COLSPAN=2 ALIGN="left"><FONT SIZE="+1">Search options</FONT></TH> - </TR> + <FONT CLASS="fsinnerbox-title"><% emt('Search options') %></FONT> + <TABLE CLASS="fsinnerbox"> <& /elements/tr-select-agent.html, 'curr_value' => scalar($cgi->param('agentnum')), diff --git a/httemplate/search/report_quotation.html b/httemplate/search/report_quotation.html index 8f4da6a1f..4bce9d9ae 100644 --- a/httemplate/search/report_quotation.html +++ b/httemplate/search/report_quotation.html @@ -5,7 +5,8 @@ <INPUT TYPE="hidden" NAME="prospectnum" VALUE="<% $prospectnum %>"> <INPUT TYPE="hidden" NAME="custnum" VALUE="<% $custnum %>"> -<TABLE BGCOLOR="#cccccc" CELLSPACING=0> +<FONT CLASS="fsinnerbox-title"><% emt('Search options') %></FONT> +<TABLE CLASS="fsinnerbox"> % unless ( $custnum ) { <& /elements/tr-select-agent.html, |