Fehlermeldungen beim automatischen Auslagern bei Verkaufsrechnungen anzeigen
[kivitendo-erp.git] / bin / mozilla / is.pl
index 6733c66..ce5f9f6 100644 (file)
@@ -940,6 +940,8 @@ sub post {
         1;
       }) {
         push @errors, $EVAL_ERROR;
+        # we have to use the error dialog here, otherwise the @errors won't be printed
+        $form->error($locale->text('Cannot post invoice and/or transfer out! Error message:') . "\n" . join("\n", @errors));
         die 'transaction error';
       }