projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
L.radio_button_tag: id erhalten wenn sie schon vorher gesetzt ist.
[kivitendo-erp.git]
/
SL
/
BackgroundJob
/
CsvImport.pm
diff --git
a/SL/BackgroundJob/CsvImport.pm
b/SL/BackgroundJob/CsvImport.pm
index
ae71123
..
b5e6f29
100644
(file)
--- a/
SL/BackgroundJob/CsvImport.pm
+++ b/
SL/BackgroundJob/CsvImport.pm
@@
-61,6
+61,7
@@
sub do_import {
$c->profile($self->profile);
$c->type($job->data_as_hash->{type});
$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};
my $test = $job->data_as_hash->{test};
@@
-81,8
+82,9
@@
sub do_import {
);
$c->add_progress_tracker($self);
);
$c->add_progress_tracker($self);
+ my $session_id = $job->data_as_hash->{session_id};
- $c->test_and_import(test => $test, session_id => $
job->data_as_hash->{session_id}
);
+ $c->test_and_import(test => $test, session_id => $
session_id
);
if ($c->errors) {
$job->set_data(
if ($c->errors) {
$job->set_data(
@@
-90,7
+92,7
@@
sub do_import {
)->save;
} else {
)->save;
} else {
- my $report_id = $c->save_report;
+ my $report_id = $c->save_report
(session_id => $session_id)
;
$job->set_data(report_id => $report_id)->save;
$c->track_progress(finished => 1);
$job->set_data(report_id => $report_id)->save;
$c->track_progress(finished => 1);