1 package FS::part_event::Condition::cust_class;
2 use base qw( FS::part_event::Condition );
12 'cust_class' => { 'label' => 'Customer Class',
13 'type' => 'select-cust_class',
20 my( $self, $object ) = @_;
22 my $cust_main = $self->cust_main($object);
24 my $hashref = $self->option('cust_class') || {};
26 $hashref->{ $cust_main->classnum };