Revision c383fc0b
Von Sven Schöling vor mehr als 9 Jahren hinzugefügt
SL/DB/Manager/PriceRuleItem.pm | ||
---|---|---|
75 | 75 |
sub get_all_types { |
76 | 76 |
my ($class, $vc) = @_; |
77 | 77 |
|
78 |
[ map { [ $_, $types{$_}{description} ] } grep { $types{$_}{$vc} } map { $_ } @types ]; |
|
78 |
$vc |
|
79 |
? [ map { [ $_, $types{$_}{description} ] } grep { $types{$_}{$vc} } map { $_ } @types ] |
|
80 |
: [ map { [ $_, $types{$_}{description} ] } map { $_ } @types ] |
|
79 | 81 |
} |
80 | 82 |
|
81 | 83 |
sub get_type { |
Auch abrufbar als: Unified diff
PriceRule: Ein menüeintrag und Typen frei filterbar