X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FController%2FCsvImport%2FHelper%2FConsistency.pm;h=82ec56371d5b68c1c47550b0b07dc56f446b29e2;hb=1b16406a883d9fa5c86c951e596a5ae549272dd4;hp=36120a77f16710c8b14dca9fb541587d9de42a9a;hpb=ae47b240b0a1d1d793240c660feeb3f0532122ab;p=kivitendo-erp.git diff --git a/SL/Controller/CsvImport/Helper/Consistency.pm b/SL/Controller/CsvImport/Helper/Consistency.pm index 36120a77f..82ec56371 100644 --- a/SL/Controller/CsvImport/Helper/Consistency.pm +++ b/SL/Controller/CsvImport/Helper/Consistency.pm @@ -54,7 +54,7 @@ sub check_taxzone { my $object = $entry->{object}; # Check whether the CSV contains the parameters taxzone_id or taxzone, and - # check them for validity. + # check them for validity. # If one of them was given, but is invalid, return an error # If neither was given: @@ -63,7 +63,7 @@ sub check_taxzone { # b) if param take_default was not set, do nothing, return without error, and # taxzone_id may be set later by other means (order import uses cv settings) - + # if $object->taxzone_id is defined (from CSV line), check if it is valid if ($object->taxzone_id && ! _taxzones_by($self)->{id}->{ $object->taxzone_id }) { push @{ $entry->{errors} }, $::locale->text('Error: Invalid tax zone'); @@ -101,7 +101,7 @@ sub check_taxzone { }; # for the order import at this stage $object->taxzone_id may still not be - # defined, in this case the customer/vendor taxzone will be used. + # defined, in this case the customer/vendor taxzone will be used. return 1; }