]> wagnertech.de Git - mfinanz.git/blobdiff - bin/mozilla/ap.pl
Storno auch erlauben, wenn bereits Zahlungen gebucht sind
[mfinanz.git] / bin / mozilla / ap.pl
index 2110042c6aafb5d2c659f9698324d66d14faa8ad..7bd3bb18114127eff067e82bed72202682e26007 100644 (file)
@@ -781,7 +781,7 @@ sub form_footer {
 
     # ToDO: - insert a global check for stornos, so that a storno is only possible a limited time after saving it
     print qq|<input class=submit type=submit name=action value="| . $locale->text('Storno') . qq|"> |
-      if ($form->{id} && !IS->has_storno(\%myconfig, $form, 'ap') && !IS->is_storno(\%myconfig, $form, 'ap') && !$form->{paid_1});
+      if ($form->{id} && !IS->has_storno(\%myconfig, $form, 'ap') && !IS->is_storno(\%myconfig, $form, 'ap'));
 
     print qq| <input class=submit type=submit name=action value="| . $locale->text('Post Payment') . qq|">
               <input class=submit type=submit name=action value="| . $locale->text('Use As Template') . qq|">