1 package FS::part_event::Action::cust_bill_send_reminder;
4 use base qw( FS::part_event::Action );
6 sub description { 'Send invoice (email/print/fax) reminder'; }
8 sub eventtable_hashref {
14 'modenum' => { label => 'Invoice mode',
15 type => 'select-invoice_mode',
17 # totally unnecessary, since the invoice mode can set notice_name and lpr,
18 # but for compatibility...
19 'notice_name' => 'Reminder name',
20 #'notes' => { 'label' => 'Reminder notes' }, # invoice mode does this
21 'lpr' => 'Optional alternate print command',
25 sub default_weight { 50; }
28 my( $self, $cust_bill ) = @_;
30 $cust_bill->set('mode' => $self->option('modenum'));
32 'notice_name' => $self->option('notice_name'),
33 'lpr' => $self->option('lpr'),