Skip to content

Commit

Permalink
#10325 Allow components to be printed
Browse files Browse the repository at this point in the history
  • Loading branch information
cristinamghita committed Jan 29, 2021
1 parent 8712d90 commit e4ff4b1
Showing 1 changed file with 3 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -139,11 +139,9 @@ private Set<HuId> retrieveSelectedHuIds()

for (final PPOrderLineRow row : selectedRows)
{
if (row.isReceipt())
{

final PPOrderLineType type = row.getType();
if (type.isMainProduct())
final PPOrderLineType type = row.getType();

if (type.isMainProduct() && row.isReceipt())
{
final ImmutableList<PPOrderLineRow> includedRows = row.getIncludedRows();
includedRows.stream()
Expand All @@ -156,7 +154,6 @@ else if (row.getHuId() != null && type.isHUOrHUStorage())
{
huIds.add(row.getHuId());
}
}
}

return huIds;
Expand Down

0 comments on commit e4ff4b1

Please sign in to comment.