projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
7b9d166
)
Flash-Meldung nach Import ausgeben
author
Moritz Bunkus
<m.bunkus@linet-services.de>
Tue, 1 Mar 2011 15:14:43 +0000
(16:14 +0100)
committer
Moritz Bunkus
<m.bunkus@linet-services.de>
Thu, 16 Jun 2011 06:44:26 +0000
(08:44 +0200)
SL/Controller/CsvImport.pm
patch
|
blob
|
history
diff --git
a/SL/Controller/CsvImport.pm
b/SL/Controller/CsvImport.pm
index
bebd351
..
0228615
100644
(file)
--- a/
SL/Controller/CsvImport.pm
+++ b/
SL/Controller/CsvImport.pm
@@
-152,6
+152,8
@@
sub test_and_import {
$self->num_importable(scalar grep { !$_ } map { scalar @{ $_->{errors} } } @{ $self->data });
$self->import_status($params{test} ? 'tested' : 'imported');
+ flash('info', $::locale->text('Objects have been imported.')) if !$params{test};
+
$self->action_new;
}