diff options
author | Ivan Kohler <ivan@freeside.biz> | 2013-10-10 15:26:08 -0700 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2013-10-10 15:26:08 -0700 |
commit | 22f8f47d6b14d421b9ce8fd5d901df28c220281a (patch) | |
tree | a0013a905ca568824d6933d48446a301f2e368cd | |
parent | e19de946a48c91ed05a9267b4425ff5dd98da1e5 (diff) |
add customer class to payment report, RT#25282
-rw-r--r-- | httemplate/search/elements/report_cust_pay_or_refund.html | 52 |
1 files changed, 43 insertions, 9 deletions
diff --git a/httemplate/search/elements/report_cust_pay_or_refund.html b/httemplate/search/elements/report_cust_pay_or_refund.html index cdbcee234..b39c7c088 100644 --- a/httemplate/search/elements/report_cust_pay_or_refund.html +++ b/httemplate/search/elements/report_cust_pay_or_refund.html @@ -23,7 +23,7 @@ Examples: <TR> <TH CLASS="background" COLSPAN=2 ALIGN="left"> - <FONT SIZE="+1"><% mt('Search options') |h %></FONT> + <FONT SIZE="+1"><% mt('Payment search options') |h %></FONT> </TH> </TR> @@ -61,16 +61,10 @@ Examples: </TD> </TR> - <& /elements/tr-select-agent.html, - 'curr_value' => scalar($cgi->param('agentnum')), - 'label' => emt('for agent: '), - 'disable_empty' => 0, - &> - <& /elements/tr-select-user.html &> <TR> - <TD ALIGN="right" VALIGN="center"><% mt('Payment') |h %></TD> + <TD ALIGN="right" VALIGN="center"><% mt(ucfirst($name_singular). ' date') |h %></TD> <TD> <TABLE> <& /elements/tr-input-beginning_ending.html, @@ -100,16 +94,56 @@ Examples: 'field' => 'paid', &> + +</TABLE> +<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> + + <& /elements/tr-select-agent.html, + 'curr_value' => scalar($cgi->param('agentnum')), + 'label' => emt('Agent'), + 'disable_empty' => 0, + &> + + <& /elements/tr-select-cust_class.html, + 'label' => emt('Customer class'), + 'field' => 'cust_classnum', + 'multiple' => 1, + 'pre_options' => [ '' => emt('(none)') ], + 'all_selected' => 1, + &> + +</TABLE> + % 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> + <& /elements/tr-checkbox.html, 'label' => emt('Include tax names'), 'field' => 'tax_names', 'value' => 1, &> -% } </TABLE> +% } + <BR> <INPUT TYPE="submit" VALUE="<% mt('Get Report') |h %>"> |