X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=sidebyside;f=SL%2FRP.pm;h=f98d47561b002ce250850a4a24b0b9ef28c1a39a;hb=72be9c763f3b7f7df1fae4fe10011e45f9e2ad1d;hp=e0ed0b4eea27b9c903379cb4643c5eee7306146a;hpb=b0f652b639cd4d363235e8f9b53e14efc5085e1a;p=kivitendo-erp.git diff --git a/SL/RP.pm b/SL/RP.pm index e0ed0b4ee..f98d47561 100644 --- a/SL/RP.pm +++ b/SL/RP.pm @@ -1293,27 +1293,6 @@ sub get_customer { $main::lxdebug->leave_sub(); } -sub get_taxaccounts { - $main::lxdebug->enter_sub(); - - my ($self, $myconfig, $form) = @_; - - # connect to database - my $dbh = $form->dbconnect($myconfig); - - # get tax accounts - my $query = - qq|SELECT c.accno, c.description, t.rate - FROM chart c, tax t - WHERE (c.link LIKE '%CT_tax%') AND (c.id = t.chart_id) - ORDER BY c.accno|; - $form->{taxaccounts} = selectall_hashref_query($form, $dbh, $query); - - $dbh->disconnect; - - $main::lxdebug->leave_sub(); -} - sub tax_report { $main::lxdebug->enter_sub();