X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fsearch%2Felements%2Freport_cust_pay_or_refund.html;h=25f7cdadd3c7ec20526ac9701d9ec1f91997ef4b;hb=17ca8b897e82cffb3731a63ccae1fb12494a7246;hp=0462f1cd9ebb55e1dae02619b43f1e8940f85c4a;hpb=f3e0ac2b009c4edd5692cb587ff709dac2223ebe;p=freeside.git diff --git a/httemplate/search/elements/report_cust_pay_or_refund.html b/httemplate/search/elements/report_cust_pay_or_refund.html index 0462f1cd9..25f7cdadd 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 %> @@ -37,6 +37,7 @@ Examples: + @@ -60,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, @@ -94,21 +89,71 @@ Examples: % } +% if ( $table eq 'cust_pay' ) { + +% # payment batch +% # <& /elements/tr-select-batchnum.html &> + +% #payment "entry" batch (should probably just all become the same thing) + <& /elements/tr-select-paybatch.html &> + +% } + <& /elements/tr-input-lessthan_greaterthan.html, 'label' => emt('Amount'), '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 %> +
+% } +