X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FDO.pm;h=70fa87641f7f0edf8ecbe710dc898ce05b3d822b;hb=ab45df2fa087f4b754ef02f238557ab0e28a676b;hp=3dde867c24d51f53d418f137d9153215c0a66e24;hpb=d1f44c84d990f57982854c6a4716c0f233f45bca;p=kivitendo-erp.git diff --git a/SL/DO.pm b/SL/DO.pm index 3dde867c2..70fa87641 100644 --- 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