From 79d876f9797e2c8693d9cc88f7e18afb1fadba4d Mon Sep 17 00:00:00 2001 From: Niclas Zimmermann Date: Mon, 6 Jan 2014 19:17:29 +0100 Subject: [PATCH] =?utf8?q?Steuerfilterung=20f=C3=BCr=20Debitoren-=20und=20?= =?utf8?q?Kreditorenbuchungen?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Fixt #2346. --- SL/Form.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) { -- 2.20.1