1 package FS::part_event::Condition::message_email;
2 use base qw( FS::part_event::Condition );
6 'Customer allows email notices'
10 my( $self, $object ) = @_;
11 my $cust_main = $self->cust_main($object);
13 $cust_main->message_noemail ? 0 : 1;
17 my( $self, $table ) = @_;
19 "cust_main.message_noemail IS NULL"