]> wagnertech.de Git - mfinanz.git/blobdiff - SL/USTVA.pm
Die USTVA darf nicht nach dem Taxkey abfragen, weil dieser nichts damit zu tun hat.
[mfinanz.git] / SL / USTVA.pm
index 9f1551ed417c50f7ef418f145f7c642cf609fd04..f99021f9a2054f5d895b603085310ddd40ab5326 100644 (file)
@@ -912,7 +912,7 @@ sub get_accounts_ustva {
              SELECT id FROM taxkeys 
              WHERE 1=1
                AND chart_id=ac.chart_id 
-               AND taxkey_id = ac.taxkey 
+               --AND taxkey_id = ac.taxkey 
                AND startdate <= COALESCE(AP.transdate)
              ORDER BY startdate DESC LIMIT 1
            )