X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FDATEV.pm;h=ad5dd0f5e9cd0d2b8895d55248fe4e728ada6fed;hb=e713c3142d8c603b31d25fff371da47f56976aae;hp=dc0c3835562a3d1f9fa1349fca6adcbc438ff2ce;hpb=7130c4c1a0cd348455b9b046b58edd6b45ec47a8;p=kivitendo-erp.git diff --git a/SL/DATEV.pm b/SL/DATEV.pm index dc0c38355..ad5dd0f5e 100644 --- a/SL/DATEV.pm +++ b/SL/DATEV.pm @@ -1030,7 +1030,6 @@ sub generate_datev_lines { $datev_data{belegfeld2} = $transaction->[$haben]->{'duedate'}; } } - $datev_data{soll_haben_kennzeichen} = (0 < $umsatz) ? 'H' : 'S'; $datev_data{umsatz} = abs($umsatz); # sales invoices without tax have a different sign??? # Dies ist die einzige Stelle die datevautomatik auswertet. Was soll gesagt werden? @@ -1051,7 +1050,7 @@ sub generate_datev_lines { $datev_data{buchungsschluessel} = $taxkey; } - push(@datev_lines, \%datev_data); + push(@datev_lines, \%datev_data) if $datev_data{umsatz}; } # example of modifying export data: