<div class="blocktitle"> Error Transaction Hitory</div>
<div class="table-responsive">
	<table cellpadding="0" cellspacing="0" class="table table-bordered">
	<tr>
			<th><?php echo $this->Paginator->sort('id'); ?></th>
			<th><?php echo $this->Paginator->sort('user_id'); ?></th>
			<th><?php echo $this->Paginator->sort('course_id'); ?></th>
			<th><?php echo $this->Paginator->sort('batchID'); ?></th>
			<th><?php echo $this->Paginator->sort('transctionID'); ?></th>
			<th><?php echo $this->Paginator->sort('transactionemail'); ?></th>
			<th><?php echo $this->Paginator->sort('amount'); ?></th>
			<th><?php echo $this->Paginator->sort('created'); ?></th>
	</tr>
	<?php foreach ($errortransactions as $errortransaction): ?>
	<tr>
		<td><?php echo h($errortransaction['Errortransaction']['id']); ?>&nbsp;</td>
		<td>
			<?php echo $this->Html->link($errortransaction['User']['id'], array('controller' => 'users', 'action' => 'view', $errortransaction['User']['id'])); ?>
		</td>
		<td>
			<?php echo $this->Html->link($errortransaction['Course']['id'], array('controller' => 'courses', 'action' => 'view', $errortransaction['Course']['id'])); ?>
		</td>
		<td><?php echo h($errortransaction['Errortransaction']['batchID']); ?>&nbsp;</td>
		<td><?php echo h($errortransaction['Errortransaction']['transctionID']); ?>&nbsp;</td>
		<td><?php echo h($errortransaction['Errortransaction']['transactionemail']); ?>&nbsp;</td>
		<td><?php echo h($errortransaction['Errortransaction']['amount']); ?>&nbsp;</td>
		<td><?php echo h($errortransaction['Errortransaction']['created']); ?>&nbsp;</td>
	</tr>
<?php endforeach; ?>
	</table>
	<p>
	<?php
	echo $this->Paginator->counter(array(
	'format' => __('Page {:page} of {:pages}, showing {:current} records out of {:count} total, starting on record {:start}, ending on {:end}')
	));
	?>	</p>
	<div class="paging">
	<?php
		echo $this->Paginator->prev('< ' . __('previous'), array(), null, array('class' => 'prev disabled'));
		echo $this->Paginator->numbers(array('separator' => ''));
		echo $this->Paginator->next(__('next') . ' >', array(), null, array('class' => 'next disabled'));
	?>
	</div>
</div>
