projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Adding line 246 "edit global pockage definitions costs" back in
[freeside.git]
/
FS
/
FS
/
part_event
/
Condition
/
agent.pm
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;