]> wagnertech.de Git - mfinanz.git/blobdiff - SL/OE.pm
toten Code entfernt
[mfinanz.git] / SL / OE.pm
index a0a0abfc89d79b99fd958246f3f0c320b3b129a3..3954a93083fe4950d192da5e6229841c4d1580c4 100644 (file)
--- 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__