Display Lot Number Column on Advanced PDF/HTML Template for Invoice

In an Advanced PDF/HTML Template for Invoice, the Lot Number column is required to be displayed.

  • Navigate to Customization > Forms > Advanced PDF/HTML Templates
  • Preferred Advanced PDF Template: Click Edit
  • Source Code: Add below code
<#if record.class = "04 Aviation">
<th align = "right" colspan "4"> Lot Number </th>
<#else>
<th></th>
<#if>

<#if record.class = "04 Aviation">
<td align = "right" colspan "4">${‌item.inventorydetail?keep_before(",")} </td>
<#else>
<td></td>
<#if>
  • Click Save

Leave a comment

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