X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/5bfe4005e836dc3a91a590c9846fdb1b26a22426..f263e30a0aecad0e08d63a587cea1b83516d668b:/SL/DB/Shop.pm diff --git a/SL/DB/Shop.pm b/SL/DB/Shop.pm index efa54c7fa..0018de693 100644 --- a/SL/DB/Shop.pm +++ b/SL/DB/Shop.pm @@ -25,10 +25,13 @@ sub validate { unless $self->{orders_to_fetch} > 0; # not yet implemented checks - push @errors, $::locale->text('Transaction Description is not yet implemented') if $self->{transaction_description}; + push @errors, $::locale->text('Transaction Description is not yet implemented') if $self->{transaction_description}; if ($self->{connector} eq 'shopware6') { - push @errors, $::locale->text('Shipping cost article not implemented') if $self->{shipping_costs_parts_id}; - push @errors, $::locale->text('Fetch from last order number not implemented') if $self->{last_order_number}; + push @errors, $::locale->text('Shipping cost article is not implemented') if $self->{shipping_costs_parts_id}; + push @errors, $::locale->text('Fetch from last order number is not implemented') if $self->{last_order_number}; + } else { + push @errors, $::locale->text('Use Long Description from Parts is only for Shopware6 implemented') + if $self->{use_part_longdescription}; } return @errors; }