]> wagnertech.de Git - mfinanz.git/blobdiff - SL/GoBD.pm
Part Controller -part link in Verbrauchsbericht (?) aktualisiert
[mfinanz.git] / SL / GoBD.pm
index e8a055891e5457c43eb8f2a2f15a2977f62bb71e..2992b5f4edd3cee4bd8a905ac4d33fd121bfaddb 100644 (file)
@@ -419,6 +419,10 @@ sub do_datev_csv_export {
 
   $datev->_get_transactions(from_to => $datev->fromto);
 
+  if ($datev->errors) {
+    die [ $datev->errors ];
+  }
+
   for my $transaction (@{ $datev->{DATEV} }) {
     for my $entry (@{ $transaction }) {
       $entry->{sortkey} = join '-', map { lc } (DateTime->from_kivitendo($entry->{transdate})->strftime('%Y%m%d'), $entry->{name}, $entry->{reference});