<?php include '__header.phtml'; ?>
<h2 class="page-header">Mijn rekeningen<a class="btn btn-default pull-right" href="overboeking" role="button">Nieuwe overboeking</a></h2>
<?php
foreach ($rekeningen as $rekening) {
?>
<a class="clickable" onclick="document.location.href = 'rekeningen/<?php echo $rekening['nr'] ?>'"><div class="panel panel-default">
<div class="panel-body">
<h4><?php echo $rekening['naam']; ?><span class="pull-right big"><?php echo money_format('%(#1n', $rekening['saldo']); ?></span></h4>
<p><?php echo $rekening['iban']; ?></p>
</div>
</div></a>
}
if (count($rekeningen) === 0) {
?>U heeft geen rekeningen.<?php
<?php include '__footer.phtml'; ?>