projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
79b683c
)
permit batch redownloads
author
jeff
<jeff>
Wed, 10 Jan 2007 00:41:36 +0000
(
00:41
+0000)
committer
jeff
<jeff>
Wed, 10 Jan 2007 00:41:36 +0000
(
00:41
+0000)
httemplate/misc/download-batch.cgi
patch
|
blob
|
history
diff --git
a/httemplate/misc/download-batch.cgi
b/httemplate/misc/download-batch.cgi
index
a1e7b5c
..
7e6750c
100644
(file)
--- a/
httemplate/misc/download-batch.cgi
+++ b/
httemplate/misc/download-batch.cgi
@@
-24,6
+24,10
@@
%my $dbh = dbh;
%
%my $pay_batch = qsearchs('pay_batch', {'batchnum'=>$batchnum, 'status'=>'O'} );
+%unless ($pay_batch) {
+% $pay_batch = qsearchs('pay_batch', {'batchnum'=>$batchnum, 'status'=>'I'} )
+% if $FS::CurrentUser::CurrentUser->access_right('Reprocess batches');
+%}
%die "No pending batch. \n" unless $pay_batch;
%
%my %batchhash = $pay_batch->hash;