projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
CSV-Import Waren/DL/Erzeugnisse: Genauerer Beschreibung für make_X, model_X, lastcost_X
[kivitendo-erp.git]
/
SL
/
Controller
/
CsvImport
/
Base.pm
diff --git
a/SL/Controller/CsvImport/Base.pm
b/SL/Controller/CsvImport/Base.pm
index
f84d54b
..
656495e
100644
(file)
--- a/
SL/Controller/CsvImport/Base.pm
+++ b/
SL/Controller/CsvImport/Base.pm
@@
-29,6
+29,7
@@
sub run {
profile => $profile,
ignore_unknown_columns => 1,
strict_profile => 1,
profile => $profile,
ignore_unknown_columns => 1,
strict_profile => 1,
+ case_insensitive_header => 1,
map { ( $_ => $self->controller->profile->get($_) ) } qw(sep_char escape_char quote_char),
));
map { ( $_ => $self->controller->profile->get($_) ) } qw(sep_char escape_char quote_char),
));
@@
-212,6
+213,12
@@
sub init_profile {
$profile{$col} = $name;
}
$profile{$col} = $name;
}
+ if ($self->can('all_cvar_configs')) {
+ for (@{ $self->all_cvar_configs }) {
+ $profile{ 'cvar_' . $_->name } = '';
+ }
+ }
+
$self->profile(\%profile);
}
$self->profile(\%profile);
}