	<tr class="<?php echo $trc; ?>">
		<?php if (isset($o['invoice'])) { ?>
		<td><?php echo $o['invoice']->display('date_orig'); ?></td>
		<td>Invoice</td>
		<td><?php echo HTML::anchor('user/invoice/view/'.$o['invoice']->id,$o['invoice']->id()); ?></td>
		<td class="right"><?php echo $o['invoice']->total(TRUE); ?></td>
		<?php } elseif (isset($o['payment'])) { ?>
		<td><?php echo $o['payment']->display('date_payment'); ?></td>
		<td>Payment</td>
		<td><?php echo $o['payment']->checkout->display('name'); ?></td>
		<td class="right"><?php echo $o['payment']->display('total_amt'); ?></td>
		<?php } ?>
		<td class="right"><?php echo Currency::display($o['total']); ?></td>
	</tr>
