]> wagnertech.de Git - mfinanz.git/blobdiff - SL/RP.pm
Bug 1797 - cb_transaction nicht eindeutig bei GuV
[mfinanz.git] / SL / RP.pm
index abf95beeb29b3d2898b98f5691c412277b4f46b6..d371912843c3a90b65756ce9c975f0d61dd32247 100644 (file)
--- 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);