]> wagnertech.de Git - mfinanz.git/blobdiff - bin/mozilla/ar.pl
Prüfung ob nach einer Buchung noch ein Beleg erfasst werden soll
[mfinanz.git] / bin / mozilla / ar.pl
index d88cb2d14645b62a71e53800b7884f0938ac90c7..17b87476b0d03bb228c2db0898f3fc95e7818d33 100644 (file)
@@ -817,6 +817,10 @@ sub post {
   }
   # /saving the history
 
+  if ($::instance_conf->get_ar_add_doc && $::instance_conf->get_doc_storage) {
+    my $add_doc_url = build_std_url("script=ar.pl", 'action=edit', 'id=' . E($form->{id}));
+    print $form->redirect_header($add_doc_url);
+  }
   $form->redirect($locale->text('AR transaction posted.') . ' ' . $locale->text('ID') . ': ' . $form->{id}) unless $inline;
 
   $main::lxdebug->leave_sub();