X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/0c1b51b8ad98f6b1739af1744a640bd1d1a86e1f..bdc9bdd01791fa83f307b937caeae0eab7fc70d2:/bin/mozilla/ap.pl diff --git a/bin/mozilla/ap.pl b/bin/mozilla/ap.pl index 687f149cd..425816f6e 100644 --- a/bin/mozilla/ap.pl +++ b/bin/mozilla/ap.pl @@ -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!'));