Ausdruck der Stückliste / bom in Belegen repariert
[kivitendo-erp.git] / SL / OE.pm
index a0a0abf..a2dea99 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