X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/01591fa72e7ca4af7143a573170a78e431728c92..a9903fd72fc5a09d99eb60707dfd3aadcabfe73f:/SL/OE.pm diff --git a/SL/OE.pm b/SL/OE.pm index a0a0abfc8..3954a9308 100644 --- a/SL/OE.pm +++ b/SL/OE.pm @@ -1505,7 +1505,7 @@ sub order_details { $tax_rate = $taxrate * 100; push(@{ $form->{TEMPLATE_ARRAYS}->{tax_rate} }, qq|$tax_rate|); - if ($form->{"assembly_$i"}) { + if ($form->{"part_type_$i"} eq 'assembly') { $sameitem = ""; # get parts and push them onto the stack @@ -1616,19 +1616,6 @@ sub order_details { $main::lxdebug->leave_sub(); } -sub project_description { - $main::lxdebug->enter_sub(); - - my ($self, $dbh, $id) = @_; - - my $query = qq|SELECT description FROM project WHERE id = ?|; - my ($value) = selectrow_query($main::form, $dbh, $query, $id); - - $main::lxdebug->leave_sub(); - - return $value; -} - 1; __END__