Revision a5419c17
Von Werner Hahn vor 7 Tagen hinzugefügt
- ID a5419c17b2553d59cd1369ca322115015ac05252
- Vorgänger 86d460a0
SL/DB/Manager/PartsGroup.pm | ||
---|---|---|
45 | 45 |
return \@list; |
46 | 46 |
} |
47 | 47 |
|
48 |
sub data_partsgroup_dropdown { |
|
49 |
my ($name, %params); |
|
50 |
my $partsgroup = get_hierarchy; |
|
51 |
my $partsgroup_hierarchie; |
|
52 |
foreach my $pg (@{$partsgroup}) { |
|
53 |
next if $pg->{obsolete}; |
|
54 |
$pg->{partsgroup} = "| " x $pg->{level} . $pg->{partsgroup}; |
|
55 |
push @{$partsgroup_hierarchie}, $pg; |
|
56 |
} |
|
57 |
return $partsgroup_hierarchie; |
|
58 |
} |
|
48 | 59 |
1; |
Auch abrufbar als: Unified diff
PartGroup: auch in deiversen Dropdown Partsgroup hierarchisch darstellen