From 6dfb7b15bbb1e0871308887c93b694316d98d8a7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bernd=20Ble=C3=9Fmann?= Date: Mon, 28 Jan 2019 16:55:19 +0100 Subject: [PATCH] SL::RP: unbenutzte Subroutine entfernt. --- SL/RP.pm | 13 ------------- 1 file changed, 13 deletions(-) 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(); -- 2.20.1