From: Rolf Fluehmann Date: Thu, 30 Jun 2016 11:44:21 +0000 (+0200) Subject: stricter filtering of posititions at erfolgsrechnung X-Git-Tag: release-3.4.1~13 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=9c8ff2dc66f532535fbb1fa8c62363062ffa9fdb;p=kivitendo-erp.git stricter filtering of posititions at erfolgsrechnung --- diff --git a/SL/RP.pm b/SL/RP.pm index 2895d534a..fbfd4746a 100644 --- a/SL/RP.pm +++ b/SL/RP.pm @@ -1910,9 +1910,9 @@ sub get_accounts_ch { my ($inclusion); if ($category eq 'I') { - $inclusion = "AND pos_er = NULL OR pos_er > '0' AND pos_er <= '5'"; + $inclusion = "AND pos_er = NULL OR pos_er = '1'"; } elsif ($category eq 'E') { - $inclusion = "AND pos_er = NULL OR pos_er >= '6' AND pos_er < '100'"; + $inclusion = "AND pos_er = NULL OR pos_er = '6'"; } else { $inclusion = ""; }