X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fsearch%2Felements%2Freport_cust_pay_or_refund.html;h=3026605cabbffc69bf2772de21cc13247eb8e563;hb=706da330626bab472bf6f4e50cf3c181bfa0cf9f;hp=0462f1cd9ebb55e1dae02619b43f1e8940f85c4a;hpb=54a357b171aa44f9399b4c146acd2afd3b686075;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..3026605ca 100644 --- a/httemplate/search/elements/report_cust_pay_or_refund.html +++ b/httemplate/search/elements/report_cust_pay_or_refund.html @@ -23,25 +23,35 @@ Examples: - <% mt('Search options') |h %> + <% mt('Payment search options') |h %> <% ucfirst(PL($name_singular)) %> of type: - + %# %# + + + - + + + + + + + @@ -60,16 +70,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 +98,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 %> +
+% } +