Hello, I need some help with HTML syntax. I want to include a parenthesis on Remaining Amount and Payment if the Description is a Credit Memo. Here is the current code. <table class="itemtable" style="width: 100%; margin-top: 10px;">
<!-- start items --><#list statement.lines as line><#if line_index==0>
<thead>
<tr>
<th colspan="4"><p style="text-align: left;">Document Date</p></th>
<th colspan="4"><p style="text-align: left;">Due<br />Date</p></th>
<th colspan="7"><p style="text-align: left;">${line.description@label}</p></th>
<th colspan="5"><p style="text-align: left;">${line.otherrefnum@label}</p></th>
<th align="right" colspan="5"><p style="text-align: left;">Document Amount</p></th>
<th align="right" colspan="5"><p style="text-align: left;">Remaining Amount</p></th>
<th align="right" colspan="4"><p style="text-align: left;">${line.payment@label}</p></th>
<th align="right" colspan="5"><p style="text-align: left;">${line.balance@label}</p></th>
</tr>
</thead>
</#if>
<tr>
<td align="right" colspan="4"><p style="text-align: right;">${line.datecol}</p></td>
<td align="right" colspan="4"><p style="text-align: right;">${line.duedate}</p></td>
<td colspan="7"><p style="text-align: left;">${line.description}</p></td>
<td colspan="5"><p style="text-align: left;">${line.otherrefnum}</p></td>
<td align="right" colspan="5"><p style="text-align: right;">${line.charge}</p></td>
<td align="right" colspan="5"><p style="text-align: right;">${line.amountremaining}</p></td>
<td align="right" colspan="4"><p style="text-align: right;">${line.payment}</p></td>
<td align="right" colspan="5"><p style="text-align: right;">${line.balance}</p></td>
</tr>
</#list><!-- end items -->
</table>