X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/48b04341b15c68a697bd2d0c3e6ffa8e5594dda3..499b6f5c727d0492517f169b4389fa29858773a4:/SL/DB/Shop.pm diff --git a/SL/DB/Shop.pm b/SL/DB/Shop.pm index e75f17c6e..efa54c7fa 100644 --- a/SL/DB/Shop.pm +++ b/SL/DB/Shop.pm @@ -23,6 +23,13 @@ sub validate { push @errors, $::locale->text('The Host Name seems invalid') unless $self->{server} =~ m/[0-9A-Za-z].\.[0-9A-Za-z]/; push @errors, $::locale->text('Orders to fetch neeeds a positive Integer') unless $self->{orders_to_fetch} > 0; + + # not yet implemented checks + 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}; + } return @errors; }