```<#if record.apply?has_content> <table...
# administration
d
Copy code
<#if record.apply?has_content>

<table style="position: absolute;overflow: hidden;left: 36pt;top: 22pt;width: 436pt;"><!-- start apply sublist --><#list record.apply as apply><#if apply_index==0>
	<tr>
	<td>Due Date</td>
	<td>Type</td>
	<td>Ref Num</td>
	<td>Orig Amt</td>
	<td>Amt Due</td>
	<td>Disc</td>
	<td>Payment</td>
	</tr>
</#if><tr>
	<td>${apply.duedate}</td>
	<td>${apply.type}</td>
	<td>${apply.refnum}</td>
	<td>${apply.total}</td>
	<td>${apply.due}</td>
	<td> </td>
	<td>${apply.amount}</td>
	</tr>
	<!-- end apply --></#list>

</#if>
<#if record.credit?has_content>
<!-- start credit sublist --><#list record.credit as credit><tr>
	<td>${credit.creditdate}</td>
	<td>${credit.type}</td>
	<td>${credit.refnum}</td>
	<td>${credit.total}</td>
	<td>${credit.due}</td>
    <td>${credit.discamt}</td>
    <td>${credit.amount}</td>
	</tr>
	</#list><!-- end credit-->
  	<tr>
	<td align="right" colspan="6">Check Amount:</td>
	<td colspan="1">${record.total}</td>
	</tr></table>
@PNJ This was the snippet doing the damage, forgive my lack of indenting. I removed the following if statements if statements and it no longer errored out. _<#if record.credit?has_content> & <#if record.apply?has_content>_