]> wagnertech.de Git - kivitendo-erp.git/blobdiff - SL/IC.pm
Rechnungsfunktionen gehören natürlich nach IS und nicht nach IC.
[kivitendo-erp.git] / SL / IC.pm
index d692b6a7588ac3a787e17770e057cb2abd9cf7ae..0112127d4e06bf570b247a027c3ad04b1424846e 100644 (file)
--- a/SL/IC.pm
+++ b/SL/IC.pm
@@ -1888,23 +1888,4 @@ sub retrieve_accounts {
   $main::lxdebug->leave_sub();
 }
 
-sub has_storno {
-  $main::lxdebug->enter_sub();
-
-  my ($self, $myconfig, $form) = @_;
-
-  $main::lxdebug->leave_sub() and return 0 unless ($form->{id});
-
-  my $dbh = $form->dbconnect($myconfig);
-
-  my $query = qq|SELECT storno FROM ar WHERE id = ?|;
-  my ($result) = selectrow_query($form, $dbh, $query, $form->{id});
-
-  $dbh->disconnect();
-
-  $main::lxdebug->leave_sub();
-
-  return $result;
-}
-
 1;