From 38dd3ed3eeda0a467e1b4d8cedd741fc62aedc9c Mon Sep 17 00:00:00 2001 From: mark Date: Sat, 12 Feb 2011 02:36:57 +0000 Subject: lock down manual batch approval --- httemplate/search/cust_pay_batch.cgi | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/httemplate/search/cust_pay_batch.cgi b/httemplate/search/cust_pay_batch.cgi index 6d628d39d..4a2248726 100755 --- a/httemplate/search/cust_pay_batch.cgi +++ b/httemplate/search/cust_pay_batch.cgi @@ -207,7 +207,10 @@ if ( $pay_batch ) { } $html_init .= qq!!; $html_init .= '
'; - if ( $conf->exists('batch-manual_approval') and $pay_batch->status eq 'I') { + if ( $conf->exists('batch-manual_approval') + and $conf->config('batch-fixed_format-CHEK') eq 'td_eft1464' + and $pay_batch->status eq 'I' + and $pay_batch->payby eq 'CHEK' ) { $html_init .= qq!! -- cgit v1.2.1