Scenario
The user needs to display the Amount Due for each Invoice on a Customer Statement printed with the Advanced PDF/HTML Template.
Solution
- Navigate to Customization > Forms > Advanced PDF/HTML Templates
- Preferred Custom Statement PDF/HTML Template: Click Edit
- Top right corner: Toggle Source Code
- Look for the line of code that contains class=”itemtable”
- Within the <thead> tag, insert the following code:
- <th align=”right”>Amount Due</th>
- Within the <tr> tags, insert the following code:
- <td align=”right”>${line.amountremaining}</td>
- Click Save