 				<cfset ecfc.DumpTrans(parm)>
 			</div>
 			<div style="clear:both; page-break-after:always;"></div>
+			<cfset balance = val(loc.QSalesBFwd.Net)>
+			<cfset drTotal = 0>
+			<cfset crTotal = 0>
 			<table class="tableList" width="600">
 				<tr>
 					<th colspan="7">Account Transactions for #accountName#</th>

					</tr>
				<cfelse>
					<tr>
						<th colspan="5">Balance Outstanding</th>
						<th align="right">#DecimalFormat(balance)#</th>
						<th align="right"></th>
					</tr>
				</cfif>
				<th></th>

				</tr>
				<tr>
					<th colspan="6">Brought Forward</th>
					<th align="right">#DecimalFormat(balance)#</th>
				</tr>
				<cfloop query="QAccountPayments">
					<cfset lineTotal = eiNet + eiVAT>
					<cfset balance += lineTotal>
					<tr>
						<td><a href="reporttransaction.cfm?tranID=#ehID#" target="trandetail">#ehID#</a></td>
						<td>#ehMode#</td>
