Revision efe67cd1
Von Sven Schöling vor etwa 1 Jahr hinzugefügt
SL/Controller/Order.pm | ||
---|---|---|
34 | 34 |
use SL::DB::Translation; |
35 | 35 |
use SL::DB::ValidityToken; |
36 | 36 |
use SL::DB::Helper::RecordLink qw(set_record_link_conversions); |
37 |
use SL::DB::Helper::TypeDataProxy; |
|
37 | 38 |
use SL::Model::Record; |
38 | 39 |
|
39 | 40 |
use SL::Helper::CreatePDF qw(:all); |
... | ... | |
59 | 60 |
'scalar --get_set_init' => [ qw(order valid_types type cv p all_price_factors |
60 | 61 |
search_cvpartnumber show_update_button |
61 | 62 |
part_picker_classification_ids |
62 |
is_final_version) ], |
|
63 |
is_final_version type_data) ],
|
|
63 | 64 |
); |
64 | 65 |
|
65 | 66 |
|
... | ... | |
2864 | 2865 |
return @errors; |
2865 | 2866 |
} |
2866 | 2867 |
|
2868 |
sub init_type_data { |
|
2869 |
SL::DB::Helper::TypeDataProxy->new('SL::DB::Order', $::form->{type}); |
|
2870 |
} |
|
2871 |
|
|
2867 | 2872 |
1; |
2868 | 2873 |
|
2869 | 2874 |
__END__ |
Auch abrufbar als: Unified diff
TypeData: Proxy in Controller/Order eingebunden