projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6b422c0
)
use the new "Process global batches" right to allow access to non-agent-specific...
author
ivan
<ivan>
Tue, 22 Nov 2011 21:26:58 +0000
(21:26 +0000)
committer
ivan
<ivan>
Tue, 22 Nov 2011 21:26:58 +0000
(21:26 +0000)
httemplate/search/cust_pay_batch.cgi
patch
|
blob
|
history
diff --git
a/httemplate/search/cust_pay_batch.cgi
b/httemplate/search/cust_pay_batch.cgi
index
f382644
..
800df87
100755
(executable)
--- 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);