Remove Balance Forward Line on Statement Advanced PDF/HTML Templates

User wants to remove the Balance Forward line (first line) within the Customer Statement using the Advanced PDF/HTML Template.

Solution
  1. Navigate to Customization > Forms > Transaction Forms
  2. Preferred Statement Form: Click Customize
  3. Print Template: Make a note of the Name
  4. Navigate to Customization > Forms > Advanced PDF/HTML Templates
  5. Click Edit/Customize by the Template from step 3
  6. Top right corner: Toggle Source Code
  7. Source Code: Add an if-else tag on the line item part to skip the first line
    Example: 
    <#if line_index==0><#else>
    <tr><td colspan=”3″>${‌line.datecol}td>
    <td colspan=”12″>${‌line.description}td>
    <td align=”right” colspan=”3″>${‌line.charge}td>
    <td align=”right” colspan=”4″>${‌line.payment}td>
    <td align=”right” colspan=”4″>${‌line.balance}td><tr>
    </#if>
  8. Click Save

Leave a comment

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