summaryrefslogtreecommitdiff
path: root/FS/FS/part_event/Condition/pkg_notchange.pm
diff options
context:
space:
mode:
Diffstat (limited to 'FS/FS/part_event/Condition/pkg_notchange.pm')
-rw-r--r--FS/FS/part_event/Condition/pkg_notchange.pm31
1 files changed, 0 insertions, 31 deletions
diff --git a/FS/FS/part_event/Condition/pkg_notchange.pm b/FS/FS/part_event/Condition/pkg_notchange.pm
deleted file mode 100644
index 4c103c2..0000000
--- a/FS/FS/part_event/Condition/pkg_notchange.pm
+++ /dev/null
@@ -1,31 +0,0 @@
-package FS::part_event::Condition::pkg_notchange;
-
-use strict;
-
-use base qw( FS::part_event::Condition );
-use FS::Record qw( qsearch );
-
-sub description {
- 'Package is a new order, not a change';
-}
-
-sub eventtable_hashref {
- { 'cust_main' => 0,
- 'cust_bill' => 0,
- 'cust_pkg' => 1,
- };
-}
-
-sub condition {
- my( $self, $cust_pkg ) = @_;
-
- ! $cust_pkg->change_date;
-
-}
-
-sub condition_sql {
- '( cust_pkg.change_date IS NULL OR cust_pkg.change_date = 0 )';
-}
-
-1;
-