X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fsearch%2Fcust_pay_batch.cgi;fp=httemplate%2Fsearch%2Fcust_pay_batch.cgi;h=800df87029f1a7f9660bf34ee4b4452d5d1a0182;hb=d0008add75bbb6e2ec49e6d40f28965eac0bcfb6;hp=f3826441058397e5a6ef2efcafdf747d48e39f9b;hpb=6b422c02045e73bac0e0c73553da62a99a9698a4;p=freeside.git diff --git a/httemplate/search/cust_pay_batch.cgi b/httemplate/search/cust_pay_batch.cgi index f38264410..800df8702 100755 --- a/httemplate/search/cust_pay_batch.cgi +++ b/httemplate/search/cust_pay_batch.cgi @@ -111,7 +111,11 @@ unless ($pay_batch){ $orderby = "pay_batch.download,paybatchnum"; } -push @search, $curuser->agentnums_sql({ table=>'cust_main' }); +push @search, $curuser->agentnums_sql({ table => 'cust_main' }); + +push @search, $curuser->agentnums_sql({ table => 'pay_batch', + null_right => 'Process global batches', + }); my $search = ' WHERE ' . join(' AND ', @search);