projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
4e23a3b
)
eek, fix agent_plandata from comping up with spurious hits
author
ivan
<ivan>
Wed, 29 Oct 2008 22:24:15 +0000
(22:24 +0000)
committer
ivan
<ivan>
Wed, 29 Oct 2008 22:24:15 +0000
(22:24 +0000)
FS/FS/cust_main.pm
patch
|
blob
|
history
diff --git
a/FS/FS/cust_main.pm
b/FS/FS/cust_main.pm
index
db70dac
..
3e767d9
100644
(file)
--- a/
FS/FS/cust_main.pm
+++ b/
FS/FS/cust_main.pm
@@
-7055,7
+7055,7
@@
sub _agent_plandata {
" AND action = 'cust_bill_send_agent' ".
" AND ( disabled IS NULL OR disabled != 'Y' ) ".
" AND peo_agentnum.optionname = 'agentnum' ".
- " AND
agentnum IS NULL OR agentnum = $agentnum
".
+ " AND
( agentnum IS NULL OR agentnum = $agentnum )
".
" ORDER BY
CASE WHEN peo_cust_bill_age.optionname != 'cust_bill_age'
THEN -1