Merge remote-tracking branch 'origin/dev' into dev
# Conflicts: # templates/transacties.phtml
This commit is contained in:
commit
7db872748e
Binary file not shown.
@ -42,13 +42,17 @@ ul.nv {
|
||||
color: white;
|
||||
}
|
||||
|
||||
/** Index **/
|
||||
.clickable {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.clickable:hover {
|
||||
background: #0094ff;
|
||||
}
|
||||
|
||||
/** Footer **/
|
||||
.footer {
|
||||
color: grey;
|
||||
margin-top: 50px;
|
||||
}
|
||||
|
||||
/** Table Row **/
|
||||
.clickable {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
@ -31,10 +31,14 @@ class Rekeningen
|
||||
$returnArray = array();
|
||||
|
||||
foreach ($rekeningen as $rekening) {
|
||||
$type = $db->types->where('id', $rekening['typeid'])[$rekening['typeid']];
|
||||
|
||||
$returnArray[] = array(
|
||||
"iban" => $ibanhelper->getIBAN($rekening['rekeningnr']),
|
||||
"nr" => $rekening['rekeningnr'],
|
||||
"saldo" => (double) $rekening['saldo']
|
||||
"saldo" => (double) $rekening['saldo'],
|
||||
"naam" => $type['rekeningnaam'],
|
||||
"rente" => $type['rente']
|
||||
);
|
||||
}
|
||||
|
||||
|
@ -4,15 +4,17 @@
|
||||
<tr>
|
||||
<th>IBAN</th>
|
||||
<th>Saldo</th>
|
||||
<!-- <th>TIJDELIJK</th> -->
|
||||
<th>Rekeningtype</th>
|
||||
<th>Rente</th>
|
||||
</tr>
|
||||
<?php
|
||||
foreach ($rekeningen as $rekening) {
|
||||
?>
|
||||
<tr onclick="document.location.href = 'rekeningen/<?php echo $rekening['nr'] ?>'">
|
||||
<tr class="clickable" onclick="document.location.href = 'rekeningen/<?php echo $rekening['nr'] ?>'">
|
||||
<td><?php echo $rekening['iban']; ?></td>
|
||||
<td><?php echo "€" . $rekening['saldo']; ?></td>
|
||||
<!-- <td><?php echo $rekening['nr']; ?></td> -->
|
||||
<td><?php echo $rekening['naam']; ?></td>
|
||||
<td><?php echo $rekening['rente']; ?></td>
|
||||
</tr>
|
||||
<?php
|
||||
|
||||
|
@ -37,7 +37,8 @@ foreach ($transacties as $transactie) {
|
||||
}
|
||||
echo "<td>€" . $transactie['bedrag'] . "</td>\n";
|
||||
echo "</tr>";
|
||||
} ?>
|
||||
}
|
||||
?>
|
||||
</table>
|
||||
<?php
|
||||
|
||||
|
Reference in New Issue
Block a user