summaryrefslogtreecommitdiff
path: root/FS/FS/part_event/Action.pm
diff options
context:
space:
mode:
authorChristopher Burger <burgerc@freeside.biz>2019-01-15 14:08:36 -0500
committerChristopher Burger <burgerc@freeside.biz>2019-01-15 14:08:36 -0500
commit39fe6499bd38e6e7c468f549b1d4919a7cf2c44d (patch)
treec676093e39f272a29fea08e3d500cda24c96ea25 /FS/FS/part_event/Action.pm
parentd03d9432be02de2abb9ff3d978ad1bdd67ea89d9 (diff)
RT# 37817 - added a declaration to cust bill event actions that send out invoices
Diffstat (limited to 'FS/FS/part_event/Action.pm')
-rw-r--r--FS/FS/part_event/Action.pm12
1 files changed, 12 insertions, 0 deletions
diff --git a/FS/FS/part_event/Action.pm b/FS/FS/part_event/Action.pm
index 1916e40a1..fb63ffe2e 100644
--- a/FS/FS/part_event/Action.pm
+++ b/FS/FS/part_event/Action.pm
@@ -152,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