X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fsearch%2Felements%2Freport_cust_pay_or_refund.html;h=214e3ca98061a2c403d13bc1c6c9cb8b905912d9;hb=50b6d674f27647f8bd97f5e2c03877f2c32d43c1;hp=730db68e8b031361b74ac298b78d3d7f29435df9;hpb=784cd44e2e7763acdd7ec8cb4f5681037f36cfe0;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 730db68e8..214e3ca98 100644 --- a/httemplate/search/elements/report_cust_pay_or_refund.html +++ b/httemplate/search/elements/report_cust_pay_or_refund.html @@ -30,12 +30,20 @@ Examples: <& /elements/tr-select.html, label => ucfirst(PL($name_singular)) . ' of type:', field => 'payby', - options => [ keys(\%payby) ], + options => [ keys %payby ], labels => \%payby, multiple => 1, size => 18, &> +% if (substr($conf->config('card_masking_method'), -5) eq 'last4' || !$conf->config('card_masking_method')) { + + <% mt('Card Last 4 #:') |h %> + + + + +% } <% mt('Check #:') |h %> @@ -119,6 +127,10 @@ Examples: + <& /elements/tr-select-cust_tag.html, + 'custnum' => $opt{'custnum'}, + &> + <& /elements/tr-select-agent.html, 'curr_value' => scalar($cgi->param('agentnum')), 'label' => emt('Agent'), @@ -132,6 +144,8 @@ Examples: 'pre_options' => [ 0 => emt('(none)') ], &> + <& options_cust_location.html &> + % if ( $table eq 'cust_pay' ) { @@ -151,6 +165,12 @@ Examples: 'value' => 1, &> + <& /elements/tr-checkbox.html, + 'label' => emt('Include order number'), + 'field' => 'show_order_number', + 'value' => 1, + &> + % } @@ -168,7 +188,7 @@ my $table = 'cust_'.$opt{'thing'}; my $name_singular = $opt{'name_singular'}; die "access denied" - unless $FS::CurrentUser::CurrentUser->access_right('Financial reports'); + unless $FS::CurrentUser::CurrentUser->access_right('Basic payment and refund reports'); my $conf = new FS::Conf;