X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/379aa61a9855bd34637fd438cb2e2f2247129b68..a1a3bfd84dbda57fe1c7a9d581a599067557ff7a:/bin/mozilla/ir.pl diff --git a/bin/mozilla/ir.pl b/bin/mozilla/ir.pl index f5fd32f58..04ca53ee4 100644 --- a/bin/mozilla/ir.pl +++ b/bin/mozilla/ir.pl @@ -32,6 +32,7 @@ #====================================================================== use SL::IR; +use SL::IS; use SL::PE; require "$form->{path}/io.pl"; @@ -972,7 +973,7 @@ sub storno { $form->error($locale->text('Cannot storno storno invoice!')); } - if (IR->has_storno(\%myconfig, $form)) { + if (IS->has_storno(\%myconfig, $form, "ap")) { $form->error($locale->text("Invoice has already been storno'd!")); }