Revision 504fcaf1
Von Kivitendo Admin vor fast 9 Jahren hinzugefügt
SL/DB/Buchungsgruppe.pm | ||
---|---|---|
if( $self->inventory_accno_id ) {
|
||
require SL::DB::Chart;
|
||
my $inventory_accno = SL::DB::Manager::Chart->find_by( id => $self->inventory_accno_id );
|
||
push(@errors, $::locale->text('Buchungsgruppe #1 needs a valid inventory account', $self->description)) unless $inventory_accno;
|
||
push(@errors, $::locale->text('Booking group #1 needs a valid inventory account', $self->description)) unless $inventory_accno;
|
||
} else {
|
||
push @errors, $::locale->text('The Buchungsgruppe needs an inventory account.');
|
||
push @errors, $::locale->text('The booking group needs an inventory account.');
|
||
};
|
||
|
||
return @errors;
|
Auch abrufbar als: Unified diff
Übersetzung für Buchungsgruppe -> Booking group