diff options
Diffstat (limited to 'FS/FS/part_event/Action/cust_bill_send.pm')
-rw-r--r-- | FS/FS/part_event/Action/cust_bill_send.pm | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/FS/FS/part_event/Action/cust_bill_send.pm b/FS/FS/part_event/Action/cust_bill_send.pm new file mode 100644 index 0000000..587a7c6 --- /dev/null +++ b/FS/FS/part_event/Action/cust_bill_send.pm @@ -0,0 +1,20 @@ +package FS::part_event::Action::cust_bill_send; + +use strict; +use base qw( FS::part_event::Action ); + +sub description { 'Send invoice (email/print/fax)'; } + +sub eventtable_hashref { + { 'cust_bill' => 1 }; +} + +sub default_weight { 50; } + +sub do_action { + my( $self, $cust_bill ) = @_; + + $cust_bill->send; +} + +1; |