Revision d210aa27
Von Jan Büren vor fast 7 Jahren hinzugefügt
SL/Controller/Part.pm | ||
---|---|---|
20 | 20 |
use SL::MoreCommon qw(save_form); |
21 | 21 |
use Carp; |
22 | 22 |
use SL::Presenter::EscapedText qw(escape is_escaped); |
23 |
use SL::Presenter::Tag qw(select_tag); |
|
23 | 24 |
|
24 | 25 |
use Rose::Object::MakeMethods::Generic ( |
25 | 26 |
'scalar --get_set_init' => [ qw(parts models part p warehouses multi_items_models |
... | ... | |
857 | 858 |
} |
858 | 859 |
|
859 | 860 |
sub build_bin_select { |
860 |
$_[0]->p->select_tag('part.bin_id', [ $_[0]->warehouse->bins ],
|
|
861 |
select_tag('part.bin_id', [ $_[0]->warehouse->bins ], |
|
861 | 862 |
title_key => 'description', |
862 | 863 |
default => $_[0]->bin->id, |
863 | 864 |
); |
864 | 865 |
} |
865 | 866 |
|
867 |
|
|
866 | 868 |
# get_set_inits for partpicker |
867 | 869 |
|
868 | 870 |
sub init_parts { |
Auch abrufbar als: Unified diff
fixt #337
Vergessene Presenter-Umstellung für Controller/Part.pm