{ 'cust_main' => 0,
'cust_bill' => 0,
'cust_pkg' => 1,
+ 'svc_acct' => 1,
};
}
}
sub condition {
- my( $self, $cust_pkg ) = @_;
+ my( $self, $object ) = @_;
+ my $cust_pkg = $self->cust_pkg($object);
#XXX test
my $hashref = $self->option('status') || {};
$hashref->{ $cust_pkg->status };