1 package FS::part_event::Action::cust_bill_send_alternate;
4 use base qw( FS::part_event::Action );
7 'Send invoice (email/print/fax) with alternate template';
10 sub eventtable_hashref {
16 'templatename' => { label => 'Template',
17 type => 'select-invoice_template',
27 my( $self, $cust_bill ) = @_;
29 #my $cust_main = $self->cust_main($cust_bill);
30 my $cust_main = $cust_bill->cust_main;
32 $cust_bill->send( $self->option('templatename') );