From: mark Date: Sat, 12 Feb 2011 02:37:05 +0000 (+0000) Subject: lock down manual batch approval X-Git-Tag: freeside_2_1_2~60 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=14a054261683e652c2f1a425ab44e21d9dac72e5 lock down manual batch approval --- 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!!