]> wagnertech.de Git - kivitendo-erp.git/commitdiff
Storno auch erlauben, wenn bereits Zahlungen gebucht sind
authorSven Schöling <s.schoeling@linet-services.de>
Thu, 14 Jun 2007 13:26:32 +0000 (13:26 +0000)
committerSven Schöling <s.schoeling@linet-services.de>
Thu, 14 Jun 2007 13:26:32 +0000 (13:26 +0000)
bin/mozilla/ap.pl
bin/mozilla/ar.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|">
index 13c3802ea2c3347aee42475c6235ed8c75cef96d..373405f581d551b4f627df896e8ae5be12ce145a 100644 (file)
@@ -821,7 +821,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, 'ar') && !IS->is_storno(\%myconfig, $form, 'ar') && !$form->{paid_1});
+    if ($form->{id} && !IS->has_storno(\%myconfig, $form, 'ar') && !IS->is_storno(\%myconfig, $form, 'ar'));
 
   if ($form->{id}) {
     if ($form->{radier}) {