Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 7dd981c4

Von Bernd Bleßmann vor 27 Tagen hinzugefügt

  • ID 7dd981c40967a5ede88130dbef13db399c603a07
  • Vorgänger d2b3f1ee
  • Nachfolger aeb5d92a

S:D:StockCounting: Methoden für Abgleich-Status und Zähl-Startzeit

Unterschiede anzeigen:

SL/DB/StockCounting.pm
5 5

  
6 6
use strict;
7 7

  
8
use List::Util qw(none);
8
use List::Util qw(any min none);
9 9

  
10 10
use SL::DB::MetaSetup::StockCounting;
11 11
use SL::DB::Manager::StockCounting;
......
43 43
  return @errors;
44 44
}
45 45

  
46
sub is_reconciliated {
47
  any { !!$_->correction_inventory_id } @{$_[0]->items};
48
}
49

  
50
sub start_time_of_counting {
51
  min map { $_->counted_at } @{$_[0]->items};
52
}
53

  
46 54
1;

Auch abrufbar als: Unified diff