summaryrefslogtreecommitdiff
path: root/FS
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2013-07-02 20:02:42 -0700
committerIvan Kohler <ivan@freeside.biz>2013-07-02 20:02:42 -0700
commit9b61510dcd5a7e30c0c1664df619bcff0aa50f08 (patch)
treef14f49b281b4325eba66ade48f30d8ebb5468b8e /FS
parent050f1d1afbb08680769f1e643118e729dd90c4a8 (diff)
parent601137d2d3d57841f50f4ab5393c2e521ada263a (diff)
Merge branch 'master' of git.freeside.biz:/home/git/freeside
Diffstat (limited to 'FS')
-rw-r--r--FS/FS/part_event/Condition/pkg_age.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/FS/part_event/Condition/pkg_age.pm b/FS/FS/part_event/Condition/pkg_age.pm
index 24a73e22f..de5897097 100644
--- a/FS/FS/part_event/Condition/pkg_age.pm
+++ b/FS/FS/part_event/Condition/pkg_age.pm
@@ -57,7 +57,7 @@ sub condition_sql {
my $field = $class->condition_sql_option('field');
#amazingly, this is actually faster
my $sql = '( CASE';
- foreach( qw(setup last_bill bill adjourn susp expire cancel) ) {
+ foreach( qw(setup last_bill bill adjourn susp expire cancel contract_end) ) {
$sql .= " WHEN $field = '$_' THEN (cust_pkg.$_ IS NOT NULL AND cust_pkg.$_ <= $age)";
}
$sql .= ' END )';