diff options
author | cvs2git <cvs2git> | 2010-12-27 00:04:45 +0000 |
---|---|---|
committer | cvs2git <cvs2git> | 2010-12-27 00:04:45 +0000 |
commit | c82d349f864e6bd9f96fd1156903bc1f7193a203 (patch) | |
tree | e117a87533656110b6acd56fc0ca64289892a9f5 /httemplate/misc/process/pay_batch-approve.cgi | |
parent | 74e058c8a010ef6feb539248a550d0bb169c1e94 (diff) |
This commit was manufactured by cvs2svn to create tag 'TORRUS_1_0_9'.TORRUS_1_0_9
Diffstat (limited to 'httemplate/misc/process/pay_batch-approve.cgi')
-rw-r--r-- | httemplate/misc/process/pay_batch-approve.cgi | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/httemplate/misc/process/pay_batch-approve.cgi b/httemplate/misc/process/pay_batch-approve.cgi deleted file mode 100644 index f857e2318..000000000 --- a/httemplate/misc/process/pay_batch-approve.cgi +++ /dev/null @@ -1,16 +0,0 @@ -% if ( $error ) { -% $cgi->param('error', $error); -% } -<% $cgi->redirect(popurl(3)."search/cust_pay_batch.cgi?dcln=1;batchnum=$batchnum") %> -<%init> -die "access denied" - unless $FS::CurrentUser::CurrentUser->access_right('Process batches'); - -my $batchnum = $cgi->param('batchnum'); -# make a record in the paybatch of who did this -my $paybatch = 'manual-'.$FS::CurrentUser::CurrentUser->username. - '-' . time2str('%Y/%m/%d-%T'. "-$$-". rand() * 2**32, time); -my $pay_batch = qsearchs('pay_batch', { 'batchnum' => $batchnum }) - or die "batchnum '$batchnum' not found"; -my $error = $pay_batch->manual_approve('paybatch' => $paybatch); -</%init> |