summaryrefslogtreecommitdiff
path: root/FS/FS/part_event/Action/cust_statement_send.pm
blob: 74cc48ca8e94df7a6c01ae6ef8f46f5953bca8b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
package FS::part_event::Action::cust_statement_send;

use strict;

use base qw( FS::part_event::Action );

sub description {
  'Send statement (email/print/fax)';
}

sub eventtable_hashref {
  { 'cust_statement' => 1, };
}

sub default_weight {
  95;
}

sub do_action {
  my( $self, $cust_statement ) = @_;

  $cust_statement->send( 'statement' ); #XXX configure

}

1;