From: Jan Büren Date: Wed, 24 Nov 2021 10:44:05 +0000 (+0100) Subject: Shop-Konfig: Not implemented für alles außer sw6 ergänzt (part.notes) X-Git-Tag: kivitendo-mebil_0.1-0~10^2~2^2~218^2~21 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=f263e30a0aecad0e08d63a587cea1b83516d668b;p=kivitendo-erp.git Shop-Konfig: Not implemented für alles außer sw6 ergänzt (part.notes) --- 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; }