X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fsearch%2Fcust_pay_batch.cgi;h=4a2248726d3a960634cd0a930b6b530089a3c2c2;hb=38dd3ed3eeda0a467e1b4d8cedd741fc62aedc9c;hp=2fceb93f8db58b32afc72b839136a2f735874a71;hpb=d557c2a3bf895d17c7d9fcfa2f5fb0c99b9e989f;p=freeside.git
diff --git a/httemplate/search/cust_pay_batch.cgi b/httemplate/search/cust_pay_batch.cgi
index 2fceb93f8..4a2248726 100755
--- a/httemplate/search/cust_pay_batch.cgi
+++ b/httemplate/search/cust_pay_batch.cgi
@@ -124,7 +124,7 @@ $sql_query = "SELECT paybatchnum,invnum,custnum,cpb.last,cpb.first," .
'LEFT JOIN pay_batch USING ( batchnum ) ' .
"$search ORDER BY $orderby";
-my $html_init = '';
+my $html_init = '
';
if ( $pay_batch ) {
my $fixed = $conf->config('batch-fixed_format-'. $pay_batch->payby);
if (
@@ -136,20 +136,25 @@ if ( $pay_batch ) {
&& $FS::CurrentUser::CurrentUser->access_right('Redownload resolved batches')
)
) {
- $html_init .= qq!
';
+ $html_init .= '
';
+ 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!
!
+ }
}
-
+ $html_init .= '
';
}
if ($pay_batch) {