Revision e0afd862
Von Bernd Bleßmann vor mehr als 2 Jahren hinzugefügt
SL/Controller/Order.pm | ||
---|---|---|
use SL::DB::Printer;
|
||
use SL::DB::Note;
|
||
use SL::DB::Language;
|
||
use SL::DB::Reclamation;
|
||
use SL::DB::RecordLink;
|
||
use SL::DB::RequirementSpec;
|
||
use SL::DB::Shipto;
|
||
... | ... | |
sub action_add_from_reclamation {
|
||
my ($self) = @_;
|
||
|
||
require SL::DB::Reclamation;
|
||
my $reclamation = SL::DB::Reclamation->new(id => $::form->{from_id})->load;
|
||
my %params;
|
||
$params{destination_type} = $reclamation->is_sales ? 'sales_order'
|
Auch abrufbar als: Unified diff
S:D:Reclamation per use im Auftragscontroller einbinden.
S:D:Reclamation kommt an mehreren stellen vor und einmal wurde das "require"
vergessen. Zudem merkt man compile time-Fehler dann direkt.
behebt #547 (redmine)