projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2f0584c
)
whew, hopefully that will actually fix agent-specific invoices migrated from 1.7...
author
ivan
<ivan>
Tue, 20 Jan 2009 20:11:05 +0000
(20:11 +0000)
committer
ivan
<ivan>
Tue, 20 Jan 2009 20:11:05 +0000
(20:11 +0000)
FS/FS/cust_main.pm
patch
|
blob
|
history
diff --git
a/FS/FS/cust_main.pm
b/FS/FS/cust_main.pm
index
77e08fe
..
e6c8084
100644
(file)
--- a/
FS/FS/cust_main.pm
+++ b/
FS/FS/cust_main.pm
@@
-7075,7
+7075,7
@@
sub _agent_plandata {
" AND peo_agentnum.optionname = 'agentnum' ".
" AND ( agentnum IS NULL OR agentnum = $agentnum ) ".
" ORDER BY
- CASE WHEN p
eo_cust_bill_age.optionname != 'cust_bill_age'
+ CASE WHEN p
art_event_condition_option.optionname IS NULL
THEN -1
ELSE ". FS::part_event::Condition->age2seconds_sql('part_event_condition_option.optionvalue').
" END