From d557c2a3bf895d17c7d9fcfa2f5fb0c99b9e989f Mon Sep 17 00:00:00 2001 From: ivan Date: Sun, 3 May 2009 18:34:09 +0000 Subject: add "Redownload resolved batches" ACL for s1, RT#4271 --- httemplate/search/cust_pay_batch.cgi | 3 +++ 1 file changed, 3 insertions(+) (limited to 'httemplate/search/cust_pay_batch.cgi') 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!
!; if ( $fixed ) { -- cgit v1.2.1