Revision 7dd981c4
Von Bernd Bleßmann vor 8 Monaten hinzugefügt
SL/DB/StockCounting.pm | ||
---|---|---|
|
||
use strict;
|
||
|
||
use List::Util qw(none);
|
||
use List::Util qw(any min none);
|
||
|
||
use SL::DB::MetaSetup::StockCounting;
|
||
use SL::DB::Manager::StockCounting;
|
||
... | ... | |
return @errors;
|
||
}
|
||
|
||
sub is_reconciliated {
|
||
any { !!$_->correction_inventory_id } @{$_[0]->items};
|
||
}
|
||
|
||
sub start_time_of_counting {
|
||
min map { $_->counted_at } @{$_[0]->items};
|
||
}
|
||
|
||
1;
|
Auch abrufbar als: Unified diff
S:D:StockCounting: Methoden für Abgleich-Status und Zähl-Startzeit