]> wagnertech.de Git - mfinanz.git/blobdiff - SL/BackgroundJob/CsvImport.pm
Bugfix zu manuelle Lieferadresse im Auftrag wird nicht in wiederkehrende Rechung...
[mfinanz.git] / SL / BackgroundJob / CsvImport.pm
index 18cf7cf0d375f0fc09b81be124cef239dc788d17..7df8b9b476e050ff1bba714cf971f3bde6d7a1fd 100644 (file)
@@ -5,7 +5,6 @@ use strict;
 use parent qw(SL::BackgroundJob::Base);
 
 use YAML ();
-use SL::Controller::CsvImport;
 use SL::DB::CsvImportProfile;
 use SL::SessionFile::Random;
 
@@ -56,11 +55,13 @@ sub run {
 sub do_import {
   my ($self) = @_;
 
+  require SL::Controller::CsvImport;
   my $c = SL::Controller::CsvImport->new;
   my $job = $self->{db_obj};
 
   $c->profile($self->profile);
   $c->type($job->data_as_hash->{type});
+  $c->{employee_id} = $job->data_as_hash->{employee_id};
 
   my $test = $job->data_as_hash->{test};