Revision 4b9b5285
Von Sven Schöling vor fast 2 Jahren hinzugefügt
SL/Controller/Order.pm | ||
---|---|---|
33 | 33 |
use SL::DB::Translation; |
34 | 34 |
use SL::DB::ValidityToken; |
35 | 35 |
use SL::DB::Helper::RecordLink qw(set_record_link_conversions); |
36 |
use SL::DB::Helper::TypeDataProxy; |
|
36 | 37 |
use SL::Model::Record; |
37 | 38 |
|
38 | 39 |
use SL::Helper::CreatePDF qw(:all); |
... | ... | |
58 | 59 |
'scalar --get_set_init' => [ qw(order valid_types type cv p all_price_factors |
59 | 60 |
search_cvpartnumber show_update_button |
60 | 61 |
part_picker_classification_ids |
61 |
is_final_version) ], |
|
62 |
is_final_version type_data) ],
|
|
62 | 63 |
); |
63 | 64 |
|
64 | 65 |
|
... | ... | |
2749 | 2750 |
return @errors; |
2750 | 2751 |
} |
2751 | 2752 |
|
2753 |
sub init_type_data { |
|
2754 |
SL::DB::Helper::TypeDataProxy->new('SL::DB::Order', $::form->{type}); |
|
2755 |
} |
|
2756 |
|
|
2752 | 2757 |
1; |
2753 | 2758 |
|
2754 | 2759 |
__END__ |
Auch abrufbar als: Unified diff
TypeData: Proxy in Controller/Order eingebunden