]> wagnertech.de Git - mfinanz.git/blobdiff - SL/OE.pm
Ausdruck der Stückliste / bom in Belegen repariert
[mfinanz.git] / SL / OE.pm
index a0a0abfc89d79b99fd958246f3f0c320b3b129a3..a2dea99ec36199ba994edd1d70f4cb64038e38d0 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