Revision 79d61c3c
Von Kivitendo Admin vor mehr als 8 Jahren hinzugefügt
SL/DB/Part.pm | ||
---|---|---|
my ($self) = @_;
|
||
|
||
my @errors;
|
||
push @errors, $::locale->text('The partnumber is missing.') unless $self->partnumber;
|
||
push @errors, $::locale->text('The partnumber is missing.') if $self->id and !$self->partnumber;
|
||
push @errors, $::locale->text('The unit is missing.') unless $self->unit;
|
||
push @errors, $::locale->text('The buchungsgruppe is missing.') unless $self->buchungsgruppen_id or $self->buchungsgruppe;
|
||
|
Auch abrufbar als: Unified diff
Part validate