X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fsearch%2Freport_cust_credit.html;h=c37b578b494e1e9905726cb26e490c27c3339990;hp=0d7a2770a2559bdc0147396e7478bffeae55f8cc;hb=1fc8addc56f8daf12397da568eb1ac1b27fd3984;hpb=7c7d54475dcdb041af4b42b13d3d4084627a8e9f diff --git a/httemplate/search/report_cust_credit.html b/httemplate/search/report_cust_credit.html index 0d7a2770a..c37b578b4 100644 --- a/httemplate/search/report_cust_credit.html +++ b/httemplate/search/report_cust_credit.html @@ -24,6 +24,22 @@ 'field' => 'amount', &> + <& /elements/tr-select-reason.html, + 'label' => emt('Reason').':', + 'field' => 'reasonnum', + 'reason_class' => 'R', + 'cgi' => $cgi, + 'hide_addnew' => 1, + 'pre_options' => [ 0 => emt('(any reason)') ], + &> + + <& /elements/tr-checkbox.html, + 'label' => emt('Show Voided Credits').':', + 'field' => 'show_voided_credits', + 'value' => '1', + &> + +
@@ -42,7 +58,7 @@ my $access_user = $FS::CurrentUser::CurrentUser->access_users_hashref('table' => my $unapplied = $cgi->param('unapplied') ? 1 : 0; -my $title = $cgi->param('unapplied') ? +my $title = $cgi->param('unapplied') ? 'Unapplied credit report' : 'Credit report';