diff options
author | ivan <ivan> | 2009-07-27 09:07:24 +0000 |
---|---|---|
committer | ivan <ivan> | 2009-07-27 09:07:24 +0000 |
commit | b00657d2dd62614568501df47d1be4cbfa15eb48 (patch) | |
tree | 54d8d9537e42dc6bf4de56e0aaccbfc4adb36e37 /httemplate/search/report_cust_pay.html | |
parent | 44a63e5978af2b5b4e00cabbc4b3541df4144305 (diff) |
voided payment report, RT#5786
Diffstat (limited to 'httemplate/search/report_cust_pay.html')
-rw-r--r-- | httemplate/search/report_cust_pay.html | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/httemplate/search/report_cust_pay.html b/httemplate/search/report_cust_pay.html index 0627131..a9695ac 100644 --- a/httemplate/search/report_cust_pay.html +++ b/httemplate/search/report_cust_pay.html @@ -1,6 +1,6 @@ -<% include('/elements/header.html', 'Payment report' ) %> +<% include('/elements/header.html', $title ) %> -<FORM ACTION="cust_pay.cgi" METHOD="GET"> +<FORM ACTION="<% $void ? 'cust_pay_void.html' : 'cust_pay.cgi' %>" METHOD="GET"> <INPUT TYPE="hidden" NAME="magic" VALUE="_date"> <TABLE> @@ -76,4 +76,8 @@ die "access denied" unless $FS::CurrentUser::CurrentUser->access_right('Financial reports'); +my $void = $cgi->param('void') ? 1 : 0; + +my $title = $void ? 'Voided payment report' : 'Payment report'; + </%init> |