Show components of Kit as in format of below in advanced PDF print

<#if record.item?has_content>
<table style="width: 100%;">
<#list record.item as item>
<#if item_index==0>
<thead>
<tr>
<th align="left" colspan="3" style="font-size: 7pt; background-color: #00adef; color: #ffffff;" ><br/>Code</th>
<th align="left" colspan="12" style="font-size: 7pt; background-color: #00adef; color: #ffffff;" ><br/>Description</th>
<th align="center" colspan="2" style="font-size: 7pt; background-color: #00adef; color: #ffffff;" >Qty<br/>Delivered</th>
</tr>
</thead>
</#if>
<#if !item.kitlevel?has_content>
<tr>
<td align="left" colspan="3" style="font-size: 7pt;" >${item.item}</td>
<td align="left" colspan="12" style="font-size: 7pt;" >${item.description}</td>
<td align="right" colspan="2" style="font-size: 7pt;" >${item.quantity}</td>
</tr>
<#else>
<tr>
<td align="right" colspan="3" style="font-size: 7pt;color:#B6B6B4;padding-right:-0px;" ><p style="text-align:right;">Kit Component:</p></td>
<td align="left" colspan="3" style="font-size: 7pt;color:#B6B6B4;" >${item.item}</td>
<td align="left" colspan="9" style="font-size: 7pt;color:#B6B6B4;" >${item.description}</td>
<td align="right" colspan="2" style="font-size: 7pt;color:#B6B6B4;" >${item.quantity}</td>
</tr>
</#if>
</#list>
</table>
</#if>