1 package FS::part_event::Action::fee;
4 use base qw( FS::part_event::Action );
6 sub description { 'Late fee (flat)'; }
10 'charge' => { label=>'Amount', type=>'money', }, # size=>7, },
12 'taxclass' => { label=>'Tax class', type=>'select-taxclass', },
16 sub default_weight { 10; }
19 my( $self, $cust_object ) = @_;
21 my $cust_main = $self->cust_main($cust_object);
23 my $error = $cust_main->charge( {
24 'amount' => $self->option('charge'),
25 'pkg' => $self->option('reason'),
26 'taxclass' => $self->option('taxclass')
27 #'start_date' => $cust_main->next_bill_date, #unless its more than N months away?