Revision ce3d9171
Von Sven Schöling vor mehr als 11 Jahren hinzugefügt
SL/Controller/Inventory.pm | ||
---|---|---|
my @ids = selectall_array_query($::form, $::form->get_standard_dbh, $query);
|
||
|
||
my $objs;
|
||
$obj = SL::DB::Manager::Inventory->get_all(query => [ trans_id => \@ids ]) if @ids;
|
||
$objs = SL::DB::Manager::Inventory->get_all(query => [ trans_id => \@ids ]) if @ids;
|
||
|
||
# at most 2 of them belong to a transaction and the qty determins in or out.
|
||
# sort them for display
|
Auch abrufbar als: Unified diff
Erst testen, dann committen Sven...