1 package FS::part_event::Action::cust_bill_comp;
4 use base qw( FS::part_event::Action );
6 sub description { 'Pay invoice with a complimentary "payment"'; }
10 sub eventtable_hashref {
14 sub default_weight { 30; }
17 my( $self, $cust_bill ) = @_;
19 #my $cust_main = $self->cust_main($cust_bill);
20 my $cust_main = $cust_bill->cust_main;
22 my $error = $cust_bill->comp;