diff options
author | levinse <levinse> | 2011-05-08 02:48:13 +0000 |
---|---|---|
committer | levinse <levinse> | 2011-05-08 02:48:13 +0000 |
commit | 487671e2fe08e63485dc71363a908295027516b5 (patch) | |
tree | 042dab29a4806ea04cc00bb04e82c8b2ef4f17fa /FS/FS/part_event | |
parent | c991a4f510a605f1bf3d1361cc2894370c5cd05b (diff) |
implemenent condition_sql for FS::part_event::Condition::agent, RT12715
Diffstat (limited to 'FS/FS/part_event')
-rw-r--r-- | FS/FS/part_event/Condition/agent.pm | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/FS/FS/part_event/Condition/agent.pm b/FS/FS/part_event/Condition/agent.pm index da428c15f..bdd4e12de 100644 --- 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; |