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:
26fafd6
)
implemenent condition_sql for FS::part_event::Condition::agent, RT12715
author
levinse
<levinse>
Sun, 8 May 2011 02:48:14 +0000
(
02:48
+0000)
committer
levinse
<levinse>
Sun, 8 May 2011 02:48:14 +0000
(
02:48
+0000)
FS/FS/part_event/Condition/agent.pm
patch
|
blob
|
history
diff --git
a/FS/FS/part_event/Condition/agent.pm
b/FS/FS/part_event/Condition/agent.pm
index
da428c1
..
bdd4e12
100644
(file)
--- a/
FS/FS/part_event/Condition/agent.pm
+++ b/
FS/FS/part_event/Condition/agent.pm
@@
-28,10
+28,10
@@
sub condition {
}
-
#
sub condition_sql {
-
# my( $self, $table
) = @_;
-#
-
# 'true'
;
-
#
}
+sub condition_sql {
+
my( $class, $table, %opt
) = @_;
+
+
"cust_main.agentnum = " . $class->condition_sql_option_integer('agentnum', $opt{'driver_name'})
;
+}
1;