]> wagnertech.de Git - mfinanz.git/blobdiff - SL/DO.pm
Order: Auftrag mit Items und Ware laden
[mfinanz.git] / SL / DO.pm
index 3dde867c24d51f53d418f137d9153215c0a66e24..1f431ce2dda936c89c41aa91cdc0ca0938b7e46d 100644 (file)
--- a/SL/DO.pm
+++ b/SL/DO.pm
@@ -1011,7 +1011,7 @@ sub order_details {
       push @{ $form->{TEMPLATE_ARRAYS}{si_unit}[$si_position-1] },          $si->{unit};
     }
 
-    if ($form->{"assembly_$i"}) {
+    if ($form->{"part_type_$i"} eq 'assembly') {
       $sameitem = "";
 
       # get parts and push them onto the stack
@@ -1073,21 +1073,6 @@ sub order_details {
   $main::lxdebug->leave_sub();
 }
 
-sub project_description {
-  $main::lxdebug->enter_sub();
-
-  my ($self, $dbh, $id) = @_;
-
-  my $form     =  $main::form;
-
-  my $query = qq|SELECT description FROM project WHERE id = ?|;
-  my ($value) = selectrow_query($form, $dbh, $query, $id);
-
-  $main::lxdebug->leave_sub();
-
-  return $value;
-}
-
 sub unpack_stock_information {
   $main::lxdebug->enter_sub();