Revision 1ad93745
Von Sven Schöling vor fast 12 Jahren hinzugefügt
SL/Controller/CsvImport.pm | ||
---|---|---|
116 | 116 |
$self->send_file($file->file_name, name => $file_name); |
117 | 117 |
} |
118 | 118 |
|
119 |
sub action_report { |
|
120 |
my ($self, %params) = @_; |
|
121 |
|
|
122 |
$self->{report} = SL::DB::Manager::CsvImportReport->find_by(id => $params{report_id} || $::form->{id}); |
|
123 |
|
|
124 |
$self->render('csv_import/report', { no_layout => $params{no_layout} }); |
|
125 |
} |
|
126 |
|
|
127 |
|
|
119 | 128 |
# |
120 | 129 |
# filters |
121 | 130 |
# |
... | ... | |
364 | 373 |
} |
365 | 374 |
|
366 | 375 |
$dbh->commit; |
367 |
} |
|
368 |
|
|
369 |
sub action_report { |
|
370 |
my ($self) = @_; |
|
371 |
|
|
372 |
$self->{report} = SL::DB::Manager::CsvImportReport->find_by(id => $::form->{id}); |
|
373 | 376 |
|
374 |
$self->render('csv_import/report');
|
|
377 |
return $report->id;
|
|
375 | 378 |
} |
376 | 379 |
|
377 | 380 |
sub csv_file_name { |
Auch abrufbar als: Unified diff
action_report zu den anderen actions verschoben