hey guys does anyone knows how to indent Phantom i...
# advancedpdf
s
hey guys does anyone knows how to indent Phantom items on BOM Print? in advanced PDF
s
did something similar to this the other day except with assembly level
<#if item.assemblylevel == 1>
            
<td colspan="12"><span class="itemname">${item.item}</span><br />${item.description}</td>
            
<#elseif item.assemblylevel == 2>
                
<td colspan="12" padding-left="30px"><span class="itemname">${item.item}</span><br />${item.description}</td>
            
<#elseif item.assemblylevel == 3>
                
<td colspan="12" padding-left="60px"><span class="itemname">${item.item}</span><br />${item.description}</td>
        
</#if>
but just compare
item.itemsource == "PHANTOM"
and add padding as an attribute to your <td> tag
👏 1