From e251cbec4a7f15621de1a04408fc8fbf009752b9 Mon Sep 17 00:00:00 2001 From: "G. Richardson" Date: Mon, 6 Feb 2012 15:33:38 +0100 Subject: [PATCH] Bug 1797 - cb_transaction nicht eindeutig bei GuV MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit cb_transaction kommt auch in Tabelle gl vor, wird aber für die Auswertung nicht benötigt --- SL/RP.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/SL/RP.pm b/SL/RP.pm index abf95beeb..d37191284 100644 --- a/SL/RP.pm +++ b/SL/RP.pm @@ -213,9 +213,9 @@ sub get_accounts { # if l_ob is selected l_cb is always ignored if ( $form->{l_ob} ) { - $where .= ' AND ob_transaction is true ' + $where .= ' AND ac.ob_transaction is true ' } elsif ( not $form->{l_cb} ) { - $where .= ' AND cb_transaction is false '; + $where .= ' AND ac.cb_transaction is false '; }; if ($fromdate) { @@ -471,7 +471,7 @@ sub get_accounts_g { my $inwhere = ""; my $item; - $where .= ' AND cb_transaction is false ' unless $form->{l_cb}; + $where .= ' AND ac.cb_transaction is false ' unless $form->{l_cb}; if ($fromdate) { $fromdate = conv_dateq($fromdate); -- 2.20.1