From: Niclas Zimmermann Date: Mon, 6 Jan 2014 18:17:29 +0000 (+0100) Subject: Steuerfilterung für Debitoren- und Kreditorenbuchungen X-Git-Tag: release-3.1.0beta1~22^2~40^2~1^2~1 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=79d876f9797e2c8693d9cc88f7e18afb1fadba4d;p=kivitendo-erp.git Steuerfilterung für Debitoren- und Kreditorenbuchungen Fixt #2346. --- diff --git a/SL/Form.pm b/SL/Form.pm index 56acec2bf..f0500d3b5 100644 --- a/SL/Form.pm +++ b/SL/Form.pm @@ -2101,10 +2101,10 @@ sub _get_taxcharts { if (ref $params eq 'HASH') { $key = $params->{key} if ($params->{key}); if ($params->{module} eq 'AR') { - push @where, 'taxkey NOT IN (8, 9, 18, 19)'; + push @where, 'chart_categories ~ \'[ACILQ]\''; } elsif ($params->{module} eq 'AP') { - push @where, 'taxkey NOT IN (1, 2, 3, 12, 13)'; + push @where, 'chart_categories ~ \'[ACELQ]\''; } } elsif ($params) {