empty or Y
+=item invoice_dest
+
+'Y' if the customer should get invoices sent to this address, null if not
+
=back
=head1 METHODS
sub check {
my $self = shift;
- if ( $self->selfservice_access eq 'R' ) {
+ if ( $self->selfservice_access eq 'R' || $self->selfservice_access eq 'E' || $self->selfservice_access eq 'P') {
$self->selfservice_access('Y');
$self->_resend('Y');
}
|| $self->ut_numbern('classnum')
|| $self->ut_textn('comment')
|| $self->ut_enum('selfservice_access', [ '', 'Y' ])
+ || $self->ut_flag('invoice_dest')
;
return $error if $error;