]> wagnertech.de Git - mfinanz.git/blobdiff - bin/mozilla/ap.pl
Behebt #243 Nach Aufruf von Buchung erstellen, keine weitere Kontoverbuchung möglich
[mfinanz.git] / bin / mozilla / ap.pl
index 687f149cd7bdb4e8e2fda7fb5593d8872da3c8b3..425816f6ee8467c32f39b48d8eaebc5d19741130 100644 (file)
@@ -823,8 +823,9 @@ sub post {
       $form->{what_done} = "invoice";
       $form->save_history;
     }
-    # /saving the history
-    # Dieser Text wird niemals ausgegeben: Probleme beim redirect?
+    # no restore_from_session_id needed. we like to have a newly generated
+    # list of invoices for bank transactions
+    print $form->redirect_header($form->{callback}) if ($form->{callback} =~ /BankTransaction/);
     $form->redirect($locale->text('AP transaction posted.')) unless $inline;
   } else {
     $form->error($locale->text('Cannot post transaction!'));