Revision 96145038
Von Bernd Bleßmann vor 7 Monaten hinzugefügt
- ID 96145038a7ff693efd5fd07c0f058caa76922105
- Vorgänger a833c262
SL/Controller/Warehouse.pm | ||
---|---|---|
my ($self) = @_;
|
||
|
||
my $wh_id = $::form->{wh_id};
|
||
my $bin_id = $::form->{bin_id};
|
||
my $bin_dom_id = $::form->{bin_dom_id} || 'bin';
|
||
|
||
my $bins = $wh_id ? SL::DB::Warehouse->new(id => $wh_id)->load->bins_sorted_naturally
|
||
: [{id => '', description => ''}];
|
||
|
||
$self->js->run('kivi.Warehouse.wh_bin_select_update_bins', $bin_dom_id, [map { {key => $_->{id}, value => $_->{description}} } @$bins])
|
||
$self->js->run('kivi.Warehouse.wh_bin_select_update_bins',
|
||
$bin_dom_id,
|
||
[map { {key => $_->{id}, value => $_->{description}} } @$bins],
|
||
$bin_id)
|
||
->render;
|
||
}
|
||
|
Auch abrufbar als: Unified diff
Presenter Lagerplatz: Beim Laden vorbelegte Auswahl berücksichtigen