- Navigate to Customization > Forms > Advanced PDF/HTML Templates
- Preferred Advanced PDF Template: Click Customize/Edit
- Toggle Source Code
- Source Code: Add the following code:
<#assign shippingcost = record.shippingcost – record.handlingcost>
<table>
<tr>
<th>${record.shippingcost@label}</th>
<td>${shippingcost?string.currency}</td>
</tr>
<tr>
<th>${record.handlingcost@label}</th>
<td>${record.handlingcost}</td>
</tr>
</table></code>