X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/5734251762d9fc172a5110472d029bb6a36578a0..da3cca7d4396168d3e14f16a2b902e5e96665ef8:/SL/DATEV.pm diff --git a/SL/DATEV.pm b/SL/DATEV.pm index 9dcfe0bdb..86cb729bc 100644 --- a/SL/DATEV.pm +++ b/SL/DATEV.pm @@ -543,6 +543,7 @@ sub generate_datev_data { $gl_itime_filter $gl_department_id_filter $gl_imported + AND NOT EXISTS (SELECT gl_id from ap_gl where gl_id = gl.id) $filter ORDER BY trans_id, acc_trans_id|; @@ -835,7 +836,7 @@ sub generate_datev_lines { } if ($transaction->[$i]->{'taxkey'}) { $taxkey = $transaction->[$i]->{'taxkey'}; - $taxkey = 0 if $taxkey == 94; # taxbookings are in gl + # $taxkey = 0 if $taxkey == 94; # taxbookings are in gl } if ($transaction->[$i]->{'charttax'}) { $charttax = $transaction->[$i]->{'charttax'};