]> wagnertech.de Git - mfinanz.git/blobdiff - SL/DO.pm
Ausdruck der Stückliste / bom in Belegen repariert
[mfinanz.git] / SL / DO.pm
index 3dde867c24d51f53d418f137d9153215c0a66e24..70fa87641f7f0edf8ecbe710dc898ce05b3d822b 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