1 package FS::part_event::Condition::has_referral_custnum;
6 use base qw( FS::part_event::Condition );
8 sub description { 'Customer has a referring customer'; }
11 my($self, $object) = @_;
13 my $cust_main = $self->cust_main($object);
15 $cust_main->referral_custnum;
19 #my( $class, $table ) = @_;
21 "cust_main.referral_custnum IS NOT NULL";