1 package FS::part_event::Action::cancel;
4 use base qw( FS::part_event::Action );
12 'reasonnum' => { 'label' => 'Reason',
13 'type' => 'select-reason',
14 'reason_class' => 'C',
25 my( $self, $cust_object ) = @_;
27 my $cust_main = $self->cust_main($cust_object);
29 my $error = $cust_main->cancel( 'reason' => $self->option('reasonnum') );