projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5462668
)
Buchungsgruppen nur laden, wenn Artikel importiert werden sollen
author
Moritz Bunkus
<m.bunkus@linet-services.de>
Thu, 29 Dec 2011 13:04:46 +0000
(14:04 +0100)
committer
Moritz Bunkus
<m.bunkus@linet-services.de>
Thu, 29 Dec 2011 13:04:46 +0000
(14:04 +0100)
SL/Controller/CsvImport.pm
patch
|
blob
|
history
diff --git
a/SL/Controller/CsvImport.pm
b/SL/Controller/CsvImport.pm
index
9cca6cd
..
9549ae2
100644
(file)
--- a/
SL/Controller/CsvImport.pm
+++ b/
SL/Controller/CsvImport.pm
@@
-142,7
+142,9
@@
sub render_inputs {
: $self->type eq 'parts' ? $::locale->text('CSV import: parts and services')
: die;
- $self->all_buchungsgruppen(SL::DB::Manager::Buchungsgruppe->get_all_sorted);
+ if ($self->{type} eq 'parts') {
+ $self->all_buchungsgruppen(SL::DB::Manager::Buchungsgruppe->get_all_sorted);
+ }
$self->setup_help;