From 47186d7ac6ce4d55284c8b337ac4eab122f38db1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bernd=20Ble=C3=9Fmann?= Date: Tue, 28 Mar 2017 13:25:39 +0200 Subject: [PATCH] CsvImport: customernumber/vendornumber statt number Fehler kam im commit "CsvImport: bei nicht eindeutigen Kunden/Lieferanten Fehler melden." rein. --- SL/Controller/CsvImport/Base.pm | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/SL/Controller/CsvImport/Base.pm b/SL/Controller/CsvImport/Base.pm index 206fce3aa..2eff5b276 100644 --- a/SL/Controller/CsvImport/Base.pm +++ b/SL/Controller/CsvImport/Base.pm @@ -202,12 +202,12 @@ sub init_vc_counts_by { my $vc_counts_by; - $vc_counts_by->{number}->{customers}->{$_->number}++ for @{ $self->all_vc->{customers} }; - $vc_counts_by->{number}->{vendors}-> {$_->number}++ for @{ $self->all_vc->{vendors} }; - $vc_counts_by->{name}-> {customers}->{$_->name}++ for @{ $self->all_vc->{customers} }; - $vc_counts_by->{name}-> {vendors}-> {$_->name}++ for @{ $self->all_vc->{vendors} }; - $vc_counts_by->{gln}-> {customers}->{$_->gln}++ for @{ $self->all_vc->{customers} }; - $vc_counts_by->{gln}-> {vendors}-> {$_->gln}++ for @{ $self->all_vc->{vendors} }; + $vc_counts_by->{number}->{customers}->{$_->customernumber}++ for @{ $self->all_vc->{customers} }; + $vc_counts_by->{number}->{vendors}-> {$_->vendornumber}++ for @{ $self->all_vc->{vendors} }; + $vc_counts_by->{name}-> {customers}->{$_->name}++ for @{ $self->all_vc->{customers} }; + $vc_counts_by->{name}-> {vendors}-> {$_->name}++ for @{ $self->all_vc->{vendors} }; + $vc_counts_by->{gln}-> {customers}->{$_->gln}++ for @{ $self->all_vc->{customers} }; + $vc_counts_by->{gln}-> {vendors}-> {$_->gln}++ for @{ $self->all_vc->{vendors} }; return $vc_counts_by; } -- 2.20.1