Revision ee8e3637
Von Tamino Steinert vor mehr als 1 Jahr hinzugefügt
SL/Presenter/Part.pm | ||
---|---|---|
149 | 149 |
}} |
150 | 150 |
@{$part->makemodels}; |
151 | 151 |
|
152 |
select_tag( $name, \@vendor_price_list, %attributes ); |
|
152 |
my $count = scalar(@vendor_price_list); |
|
153 |
if ($count) { |
|
154 |
$attributes{size} = $count; |
|
155 |
$attributes{default} = $vendor_price_list[0]->{id}; |
|
156 |
select_tag( $name, \@vendor_price_list, %attributes ); |
|
157 |
} else { |
|
158 |
html_tag('span', $::locale->text('No vendor available')); |
|
159 |
} |
|
153 | 160 |
} |
154 | 161 |
|
155 | 162 |
1; |
Auch abrufbar als: Unified diff
DispositionManager: Expandiere Kunden-Preis-Auswahl