summaryrefslogtreecommitdiff
path: root/FS/FS/part_event/Action/addpost.pm
diff options
context:
space:
mode:
Diffstat (limited to 'FS/FS/part_event/Action/addpost.pm')
-rw-r--r--FS/FS/part_event/Action/addpost.pm20
1 files changed, 20 insertions, 0 deletions
diff --git a/FS/FS/part_event/Action/addpost.pm b/FS/FS/part_event/Action/addpost.pm
new file mode 100644
index 0000000..f92e72e
--- /dev/null
+++ b/FS/FS/part_event/Action/addpost.pm
@@ -0,0 +1,20 @@
+package FS::part_event::Action::addpost;
+
+use strict;
+use base qw( FS::part_event::Action );
+
+sub description { 'Add postal invoicing'; }
+
+sub default_weight { 20; }
+
+sub do_action {
+ my( $self, $cust_object ) = @_;
+
+ my $cust_main = $self->cust_main($cust_object);
+
+ $cust_main->invoicing_list_addpost();
+
+ '';
+}
+
+1;