OE->save() parst verschiedene Zahlen. Das ist beim Umwandeln in anderen Formulartypen...
[kivitendo-erp.git] / bin / mozilla / dn.pl
index c1d0f8b..50c602b 100644 (file)
@@ -448,7 +448,7 @@ sub show_invoices {
 <body>
 <script type="text/javascript" src="js/common.js"></script>
 <script type="text/javascript" src="js/dunning.js"></script>
-<form method=post action=$form->{script}>
+<form name=Form method=post action=$form->{script}>
 
 
 <table width=100%>
@@ -530,11 +530,14 @@ print qq|
 
 <input type=hidden name=path value=$form->{path}>
 <input type=hidden name=login value=$form->{login}>
-<input type=hidden name=password value=$form->{password}>
-
-<input class=submit type=submit name=action value="|
-    . $locale->text('Continue') . qq|">|;
-
+<input type=hidden name=password value=$form->{password}>|;
+#print qq|
+# <input type="submit" name="action" value="|
+#     . $locale->text('Continue') . qq|">|;
+print qq|
+<input type="hidden" name="action">
+<input type="submit" name="dummy" value="|
+    . $locale->text('Continue') . qq|" onclick="this.disabled=true; this.value='| . $locale->text("The dunning process started") . qq|'; document.Form.action.value='| . $locale->text('Continue') . qq|'; document.Form.submit()">|;
   if ($form->{menubar}) {
     require "$form->{path}/menu.pl";
     &menubar;