2017-03-29 14:47:24 +00:00
|
|
|
<?php include '__header.phtml'; ?>
|
|
|
|
|
2017-03-30 17:04:14 +00:00
|
|
|
<?php
|
|
|
|
if (!$rekening) {
|
|
|
|
?>
|
2017-03-31 16:09:23 +00:00
|
|
|
|
2017-03-31 16:13:52 +00:00
|
|
|
<div class="alert alert-danger" role="alert"><b>Fout!</b> Dit is niet een aan jouw account gekoppelde rekening.</div>
|
2017-03-29 14:47:24 +00:00
|
|
|
<?php
|
|
|
|
|
2017-03-30 17:04:14 +00:00
|
|
|
} else {
|
|
|
|
?>
|
2017-03-31 16:09:23 +00:00
|
|
|
|
2017-04-02 19:04:14 +00:00
|
|
|
<h2 class="page-header">Transactieoverzicht
|
|
|
|
<a class="btn btn-default pull-right" href="overboeking" role="button">Nieuwe overboeking</a>
|
|
|
|
<a class="btn btn-default pull-right" href="statistieken/<?= $rekening['nr']?>" role="button">Statistieken</a></h2>
|
2017-03-31 16:09:23 +00:00
|
|
|
<div class="panel panel-default">
|
|
|
|
<div class="panel-body">
|
|
|
|
<div class="row">
|
2017-03-31 16:22:04 +00:00
|
|
|
<div class="col-md-8">
|
2017-03-31 16:09:23 +00:00
|
|
|
IBAN/rekeningnummer<br/>
|
|
|
|
<h4><?php echo $rekening['iban']?></h4>
|
|
|
|
</div>
|
2017-03-31 16:22:04 +00:00
|
|
|
|
|
|
|
<div class="col-md-2">Rentetarief<br/>
|
|
|
|
<h4><?php echo $rekening['rente']; ?>%</h4>
|
|
|
|
</div>
|
|
|
|
<div class="col-md-2">Saldo<br/>
|
|
|
|
<h4><b><?php echo money_format('%(#1n', $rekening['saldo']); ?></b></h4>
|
|
|
|
</div>
|
2017-03-31 16:09:23 +00:00
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
2017-03-31 15:22:57 +00:00
|
|
|
<table class="table">
|
|
|
|
<tr>
|
|
|
|
<th>Datum</th>
|
2017-03-31 16:38:17 +00:00
|
|
|
<th>Code</th>
|
2017-03-31 15:22:57 +00:00
|
|
|
<th>Omschrijving</th>
|
2017-03-31 16:09:23 +00:00
|
|
|
<th>Tegenrekening</th>
|
2017-03-31 15:22:57 +00:00
|
|
|
<th>AF/BIJ</th>
|
|
|
|
<th>Bedrag</th>
|
|
|
|
</tr>
|
2017-03-30 17:04:14 +00:00
|
|
|
<?php
|
|
|
|
foreach ($transacties as $transactie) {
|
2017-03-31 16:09:23 +00:00
|
|
|
if (!isset($transactie['omschrijving'])) {
|
|
|
|
$transactie['omschrijving'] = "";
|
|
|
|
}
|
|
|
|
echo "<tr>";
|
2017-04-02 19:04:14 +00:00
|
|
|
echo "<td>" . $transactie['datum'] . "</td>";
|
2017-03-31 16:09:23 +00:00
|
|
|
echo "<td>" . $transactie['type'] . "</td>\n";
|
|
|
|
echo "<td>" . $transactie['omschrijving'] . "</td>\n";
|
|
|
|
|
|
|
|
if ($transactie['van'] === $rekening['iban']) {
|
|
|
|
echo "<td>" . $transactie['naar'] . "</td>\n";
|
|
|
|
echo "<td>AF</td>\n";
|
|
|
|
} else {
|
|
|
|
echo "<td>" . $transactie['van'] . "</td>\n";
|
|
|
|
echo "<td>BIJ</td>\n";
|
|
|
|
}
|
|
|
|
|
|
|
|
echo "<td>" . money_format('%(#1n', $transactie['bedrag']) . "</td>\n";
|
|
|
|
echo "</tr>";
|
|
|
|
} ?>
|
2017-03-31 15:22:57 +00:00
|
|
|
</table>
|
2017-03-31 16:38:17 +00:00
|
|
|
<br/>
|
|
|
|
<small>ba = betaalautomaat, bg = bankgiro/SEPA opdracht, id = Inforbank Direct Online Betalen (iDeal), sp = spoedbetaling</small>
|
2017-03-29 14:47:24 +00:00
|
|
|
<?php
|
2017-03-30 17:04:14 +00:00
|
|
|
|
2017-03-29 14:47:24 +00:00
|
|
|
}
|
|
|
|
?>
|
|
|
|
<?php include '__footer.phtml'; ?>
|