Rechnungsfunktionen gehören natürlich nach IS und nicht nach IC.
[kivitendo-erp.git] / bin / mozilla / is.pl
index 9c11c34..5bfa9de 100644 (file)
@@ -1518,7 +1518,7 @@ sub storno {
     $form->error($locale->text('Cannot storno storno invoice!'));
   }
 
-  if (IC->has_storno(\%myconfig, $form)) {
+  if (IS->has_storno(\%myconfig, $form)) {
     $form->error($locale->text("Invoice has already been storno'd!"));
   }