CSV-Import Debitorenbuchungen: maximale Betragsabweichung (Einstellungen) parsen
authorBernd Bleßmann <bernd@kivitendo-premium.de>
Mon, 4 Nov 2019 10:12:28 +0000 (11:12 +0100)
committerBernd Bleßmann <bernd@kivitendo-premium.de>
Mon, 4 Nov 2019 10:12:28 +0000 (11:12 +0100)
SL/Controller/CsvImport.pm

index 0a6935e..6ca25d0 100644 (file)
@@ -488,7 +488,7 @@ sub profile_from_form {
     $::form->{settings}->{sellprice_adjustment} = $::form->parse_amount(\%::myconfig, $::form->{settings}->{sellprice_adjustment});
   }
 
-  if ($self->type eq 'orders') {
+  if ($self->type eq 'orders' or $self->{type} eq 'ar_transactions') {
     $::form->{settings}->{max_amount_diff} = $::form->parse_amount(\%::myconfig, $::form->{settings}->{max_amount_diff});
   }