From 9c8ff2dc66f532535fbb1fa8c62363062ffa9fdb Mon Sep 17 00:00:00 2001 From: Rolf Fluehmann Date: Thu, 30 Jun 2016 13:44:21 +0200 Subject: [PATCH] stricter filtering of posititions at erfolgsrechnung --- SL/RP.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 = ""; } -- 2.20.1