<h3><?php echo $rtmo->name; ?></h3>
<table>

	<tr>
		<th>Account</th>
		<th>Due Date</th>
		<th>Inv ID</th>
		<th>Amount Due</th>
	</tr>

	<?php foreach ($o as $io) : ?>
	<tr>
		<td><?php echo $io->account->name(); ?></td>
		<td><?php echo $io->display('due_date'); ?></td>
		<td><?php echo $io->id(); ?></td>
		<td><?php echo $io->due(TRUE); ?></td>
	</tr>
	<?php endforeach ?>

</table>
