Revision 557b2cca
Von Werner Hahn vor etwa 1 Jahr hinzugefügt
SL/Controller/DispositionManager.pm | ||
---|---|---|
195 | 195 |
return $self->js->render(); |
196 | 196 |
} |
197 | 197 |
|
198 |
my $vendor_id = $::form->{vendor_ids}->[0]; |
|
199 |
|
|
200 | 198 |
# check for same vendor |
201 | 199 |
my %basket_id_vendor_id_map = |
202 | 200 |
map {$::form->{basket_ids}->[$_] => $::form->{vendor_ids}->[$_]} |
203 | 201 |
(0..$#{$::form->{vendor_ids}}); |
202 |
|
|
203 |
my $vendor_id = $::form->{vendor_id_selected} || $basket_id_vendor_id_map{@{$basket_item_ids}[0]} || $basket_id_vendor_id_map{@{$basket_item_ids}[0]}; |
|
204 |
|
|
204 | 205 |
my @different_vendor_ids = |
205 | 206 |
grep { $basket_id_vendor_id_map{$_} ne $vendor_id } |
206 | 207 |
@{$basket_item_ids}; |
Auch abrufbar als: Unified diff
DispositionManager: Lieferantenauswahl berichtigt