summaryrefslogtreecommitdiff
path: root/httemplate/search/cust_pay_batch.cgi
diff options
context:
space:
mode:
authorivan <ivan>2009-05-03 18:34:09 +0000
committerivan <ivan>2009-05-03 18:34:09 +0000
commitd557c2a3bf895d17c7d9fcfa2f5fb0c99b9e989f (patch)
tree0e127807708733e819828d2ed3386e4aa90f043a /httemplate/search/cust_pay_batch.cgi
parent6ff3e876504bab769ebf557cb5fd90ec52dfc3e7 (diff)
add "Redownload resolved batches" ACL for s1, RT#4271
Diffstat (limited to 'httemplate/search/cust_pay_batch.cgi')
-rwxr-xr-xhttemplate/search/cust_pay_batch.cgi3
1 files changed, 3 insertions, 0 deletions
diff --git a/httemplate/search/cust_pay_batch.cgi b/httemplate/search/cust_pay_batch.cgi
index 157696366..2fceb93f8 100755
--- a/httemplate/search/cust_pay_batch.cgi
+++ b/httemplate/search/cust_pay_batch.cgi
@@ -132,6 +132,9 @@ if ( $pay_batch ) {
|| ( $pay_batch->status eq 'I'
&& $FS::CurrentUser::CurrentUser->access_right('Reprocess batches')
)
+ || ( $pay_batch->status eq 'R'
+ && $FS::CurrentUser::CurrentUser->access_right('Redownload resolved batches')
+ )
) {
$html_init .= qq!<FORM ACTION="$p/misc/download-batch.cgi" METHOD="POST">!;
if ( $fixed ) {