From: Bernd Bleßmann Date: Mon, 28 Jan 2019 15:55:19 +0000 (+0100) Subject: SL::RP: unbenutzte Subroutine entfernt. X-Git-Tag: release-3.5.4~151 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=6dfb7b15bbb1e0871308887c93b694316d98d8a7;p=kivitendo-erp.git SL::RP: unbenutzte Subroutine entfernt. --- diff --git a/SL/RP.pm b/SL/RP.pm index ec3be2699..7b1b01bc6 100644 --- a/SL/RP.pm +++ b/SL/RP.pm @@ -1206,19 +1206,6 @@ sub trial_balance { $main::lxdebug->leave_sub(); } -sub get_storno { - $main::lxdebug->enter_sub(); - my ($self, $dbh, $form) = @_; - my $arap = $form->{arap} eq "ar" ? "ar" : "ap"; - my $query = qq|SELECT invnumber FROM $arap WHERE invnumber LIKE "Storno zu "|; - my $sth = $dbh->prepare($query); - while(my $ref = $sth->fetchrow_hashref()) { - $ref->{invnumer} =~ s/Storno zu //g; - $form->{storno}{$ref->{invnumber}} = 1; - } - $main::lxdebug->leave_sub(); -} - sub aging { $main::lxdebug->enter_sub();