From 22f8f47d6b14d421b9ce8fd5d901df28c220281a Mon Sep 17 00:00:00 2001 From: Ivan Kohler Date: Thu, 10 Oct 2013 15:26:08 -0700 Subject: [PATCH] add customer class to payment report, RT#25282 --- .../search/elements/report_cust_pay_or_refund.html | 52 ++++++++++++++++++---- 1 file 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: - <% mt('Search options') |h %> + <% mt('Payment search options') |h %> @@ -61,16 +61,10 @@ Examples: - <& /elements/tr-select-agent.html, - 'curr_value' => scalar($cgi->param('agentnum')), - 'label' => emt('for agent: '), - 'disable_empty' => 0, - &> - <& /elements/tr-select-user.html &> - <% mt('Payment') |h %> + <% mt(ucfirst($name_singular). ' date') |h %> <& /elements/tr-input-beginning_ending.html, @@ -100,16 +94,56 @@ Examples: 'field' => 'paid', &> + +
+
+ + + + + + + + + <& /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, + &> + +
+ <% mt('Customer search options') |h %> +
+ % if ( $table eq 'cust_pay' ) { + +
+ + + + + + <& /elements/tr-checkbox.html, 'label' => emt('Include tax names'), 'field' => 'tax_names', 'value' => 1, &> -% }
+ <% mt('Display options') |h %> +
+% } +
-- 2.11.0