From: Jan Büren Date: Mon, 7 Mar 2022 08:43:46 +0000 (+0100) Subject: DATEV-Export Steuerschlüssel 94 übergeben, aber die Steuerbuchungen ausklammern X-Git-Tag: kivitendo-mebil_0.1-0~10^2~2^2~151 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=a44bb343f0aa6e3305edf9c10b6c8a543a30e718;p=kivitendo-erp.git DATEV-Export Steuerschlüssel 94 übergeben, aber die Steuerbuchungen ausklammern --- 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'};