referral credits overhaul, use billing events, agents can self-configure, limit to...
[freeside.git] / FS / FS / part_event / Action / cancel.pm
index 94f3146..b9d6d29 100644 (file)
@@ -3,9 +3,7 @@ package FS::part_event::Action::cancel;
 use strict;
 use base qw( FS::part_event::Action );
 
-sub description {
-  'Cancel';
-}
+sub description { 'Cancel'; }
 
 sub option_fields {
   ( 
@@ -14,13 +12,10 @@ sub option_fields {
                      'reason_class' => 'C',
                    },
   );
-
-};
-
-sub default_weight {
-  20;
 }
 
+sub default_weight { 20; }
+
 sub do_action {
   my( $self, $cust_object ) = @_;