Revision c3cf9653
Von Sven Schöling vor mehr als 1 Jahr 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 |
|
... | ... | |
2800 | 2801 |
return @errors; |
2801 | 2802 |
} |
2802 | 2803 |
|
2804 |
sub init_type_data { |
|
2805 |
SL::DB::Helper::TypeDataProxy->new('SL::DB::Order', $::form->{type}); |
|
2806 |
} |
|
2807 |
|
|
2803 | 2808 |
1; |
2804 | 2809 |
|
2805 | 2810 |
__END__ |
Auch abrufbar als: Unified diff
TypeData: Proxy in Controller/Order eingebunden