X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;ds=sidebyside;f=FS%2FFS%2Fpart_event%2FAction.pm;h=45219a3215d5c2b5f79544ddefcec87fecf99d31;hb=74e058c8a010ef6feb539248a550d0bb169c1e94;hp=9dcde5a616ce550293b02c743b7571ff0638df41;hpb=686459dd7e8e2e30c4a71440bf845ed67be0da47;p=freeside.git diff --git a/FS/FS/part_event/Action.pm b/FS/FS/part_event/Action.pm index 9dcde5a61..45219a321 100644 --- a/FS/FS/part_event/Action.pm +++ b/FS/FS/part_event/Action.pm @@ -54,6 +54,19 @@ sub eventtable_hashref { }; } +=item event_stage + +Action classes may define an event_stage method to indicate a preference +for being run at a non-standard stage of the billing and collection process. + +This method may currently return "collect" (the default) or "pre-bill". + +=cut + +sub event_stage { + 'collect'; +} + =item option_fields Action classes may define an option_fields method to indicate that they @@ -216,7 +229,6 @@ Returns just the option field names as a list reference. sub option_fields_listref { my $self = shift; my $hashref = $self->option_fields_hashref; - warn $hashref; [ keys %$hashref ]; }