]> wagnertech.de Git - mfinanz.git/blobdiff - SL/Form.pm
Bankbewegungsimport - detailliertere Fehlermeldungen
[mfinanz.git] / SL / Form.pm
index 583a0a1db67339cb8c8511ff01d607cce9cc41c0..9209f3a7329f8b217fb22ea2cace67a2482ea266 100644 (file)
@@ -91,7 +91,8 @@ END {
 
 sub disconnect_standard_dbh {
   return unless $standard_dbh;
-  $standard_dbh->disconnect();
+
+  $standard_dbh->rollback();
   undef $standard_dbh;
 }
 
@@ -1125,7 +1126,7 @@ sub parse_template {
 
   if ($self->{media} eq 'email') {
 
-    my $mail = new Mailer;
+    my $mail = Mailer->new;
 
     map { $mail->{$_} = $self->{$_} }
       qw(cc bcc subject message version format);
@@ -2918,7 +2919,6 @@ sub lastname_used {
                     "d.description"           => "department",
                     "ct.name"                 => $table,
                     "cu.name"                 => "currency",
-                    "current_date + ct.terms" => "duedate",
     );
 
   if ($self->{type} =~ /delivery_order/) {