X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fsearch%2Freport_cust_refund.html;h=98b31a10fd9e733d11dd89c8a7eba414b33ec459;hb=ea749c5e875371d98bdcf173e19a2d57fa46481e;hp=90d15ec3128c99652c96366de922bb13d8491e2b;hpb=56fd2a280fa3aba5ae8fcc65ab775ef28dd730d9;p=freeside.git diff --git a/httemplate/search/report_cust_refund.html b/httemplate/search/report_cust_refund.html index 90d15ec31..98b31a10f 100644 --- a/httemplate/search/report_cust_refund.html +++ b/httemplate/search/report_cust_refund.html @@ -1,116 +1,5 @@ -<% include('/elements/header.html', $title ) %> - -
- -<% include('/elements/footer.html') %> -<%init> - -die "access denied" - unless $FS::CurrentUser::CurrentUser->access_right('Financial reports'); - -my $void = $cgi->param('void') ? 1 : 0; - -my $title = $void ? 'Voided refund report' : 'Refund report'; - -%init> +<& elements/report_cust_pay_or_refund.html, + 'thing' => 'refund', + 'name_singular' => emt('refund'), + 'reason_class' => 'F', +&>