1 package FS::part_event::Action::cust_statement;
5 use base qw( FS::part_event::Action );
7 use FS::cust_statement;
10 'Group invoices into an informational statement.';
13 sub eventtable_hashref {
24 my( $self, $cust_main ) = @_;
26 #my( $self, $object ) = @_;
27 #my $cust_main = $self->cust_main($object);
29 my $cust_statement = new FS::cust_statement {
30 'custnum' => $cust_main->custnum
32 my $error = $cust_statement->insert;