Transactiepagina
This commit is contained in:
14
templates/overboeking.phtml
Normal file
14
templates/overboeking.phtml
Normal file
@ -0,0 +1,14 @@
|
||||
<?php include '__header.phtml'; ?>
|
||||
|
||||
<select>
|
||||
<?php
|
||||
foreach($rekeningen as $rekening){
|
||||
echo "<option>" . $rekening['rekeningnr'] . "</option>\n";
|
||||
}
|
||||
?>
|
||||
</select><br/>
|
||||
<input type="text" placeholder="naar"></input><br/>
|
||||
<input type="number" placeholder="bedrag"></input><br/>
|
||||
<textarea maxlength=40></textarea>
|
||||
|
||||
<?php include '__footer.phtml'; ?>
|
23
templates/transacties.phtml
Normal file
23
templates/transacties.phtml
Normal file
@ -0,0 +1,23 @@
|
||||
<?php include '__header.phtml'; ?>
|
||||
|
||||
<?php
|
||||
if(!$rekening){
|
||||
?>
|
||||
Fout: niet jouw eigen rekening.
|
||||
<?php
|
||||
}else{
|
||||
?>
|
||||
|
||||
Saldo: <?php echo $rekening['saldo']?><br/>
|
||||
<?php
|
||||
foreach($transacties as $transactie){
|
||||
echo "<pre>";
|
||||
echo json_encode($transactie);
|
||||
echo "<br/></pre>";
|
||||
}
|
||||
?>
|
||||
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
<?php include '__footer.phtml'; ?>
|
Reference in New Issue
Block a user