To generate a PDF that excludes component item details (kit/package item, item group), showing only the main item information.
<#if record.item?has_content>
<table class="itemtable" style="width: 100%; margin-top: 10px; table-layout: auto;">
<!-- start items -->
<#list record.item as item>
<#if item_index == 0>
<thead>
<tr>
<th>Description</th>
<th>Wall<br/>Thickness</th>
<th>Height</th>
<th>Width</th>
<th>Strike</th>
<th>Hand</th>
<th>FR</th>
<th>Prep</th>
<th>Door<br/>Number</th>
<th align="center">Quantity</th>
<th align="right">Rate</th>
<th align="right">Amount</th>
</tr>
</thead>
</#if>
<#-- Filter to exclude group member lines and GroupEnd lines -->
<#if item.itemtype != "GroupEnd" && (item.isGroup == "T" || item.printitems != "F")>
<tr>
<td style="border-left: 1px">${item.description}</td>
<td>${item.custcol_ezwallthickness}</td>
<td><p align="left">${item.custcol_ezdoorheight}</p></td>
<td>${item.custcol_doorwidth}</td>
<td><p align="left">${item.custcol_ezstriketype}</p></td>
<td>${item.custcol_ezhingehand}</td>
<td align="right">${item.custcol_ezfirerated}</td>
<td align="right">${item.custcol_ezhingeprep}</td>
<td align="right">${item.custcol_labeldoornumber}</td>
<td align="center">${item.quantity}</td>
<td align="right">${item.rate}</td>
<td align="right">${item.amount}</td>
</tr>
</#if>
</#list>
<!-- end items -->
</table>
</#if>