X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2Fpart_event%2FAction.pm;h=fb63ffe2e6f06c800f52f7f6149db3cabf123f27;hb=121510b6337b7f75f25d583730a65f3fc63bbfbe;hp=c0c70b1c3d1f72bb81346a162953ee0530cc19a1;hpb=53ea5a72067a9b0ebcd3417692c3884d6f91f74a;p=freeside.git diff --git a/FS/FS/part_event/Action.pm b/FS/FS/part_event/Action.pm index c0c70b1c3..fb63ffe2e 100644 --- a/FS/FS/part_event/Action.pm +++ b/FS/FS/part_event/Action.pm @@ -85,6 +85,8 @@ hashref with the following values: =item size - Size for text fields +=item validation - (optional) Validate optionvalue using the given object method, such as ut_textn, ut_email + =item options - For checkbox-multiple and select, a list reference of available option values. =item option_labels - For select, a hash reference of availble option values and labels. @@ -150,6 +152,18 @@ sub deprecated { 0; } +=item will_send_invoice + +Action classes may define a will_send_invoice method that returns true, indicating +that this action is sending out an invoice. + +=cut + +#default +sub will_send_invoice { + 0; +} + =item do_action CUSTOMER_EVENT_OBJECT Action classes must define an action method. This method is triggered if