How to horizontally display item details in NetSuite Advanced PDF.

<#if record.item?has_content>

<table style=“width: 100%; margin-top: 10px;”><!– start items –><#list record.item?chunk(3) as items>

<tr>

<#list items as item>

  <td>

  <table>

<tr><#if item.custcol_image_url?has_content>

<td align=“center” colspan=“4”>

<img src=“${item.custcol_image_url}” style=“width:2.5%; height:2.5%; margin: 5px” /></td>

</#if>

<#if !item.custcol_image_url?has_content>

<td align=“right” colspan=“4”> </td>

</#if></tr>

<tr><td>Model: ${item.item}</td></tr>

<tr><td>Size: ${item.custcol_item_size}</td></tr>

<tr><td>Quantity: ${item.quantity}</td></tr>

<tr><td>Price: ${item.rate}</td></tr>

</table>

</td>

</#list>

</tr>

</#list><!– end items –></table>

Leave a comment

Your email address will not be published. Required fields are marked *