1 package FS::part_event::Action::cust_bill_fsinc_print;
4 use base qw( FS::part_event::Action );
6 sub description { 'Send invoice to Freeside Inc. for printing and mailing'; }
8 sub eventtable_hashref {
14 'modenum' => { label => 'Invoice mode',
15 type => 'select-invoice_mode',
20 sub default_weight { 52; }
23 my( $self, $cust_bill ) = @_;
25 $cust_bill->set('mode' => $self->option('modenum'));
27 my $letter_id = $cust_bill->postal_mail_fsinc;
29 #TODO: store this so we can query for a status later