Statistieken
This commit is contained in:
@ -45,7 +45,8 @@ class Transacties {
|
||||
}
|
||||
$container = Application::getContainer();
|
||||
$db = $container->db;
|
||||
$transacties = $db->transacties->where('van', '12345678')->or('naar', $rekeningnr);
|
||||
$transacties = $db->transacties->where('van', '12345678')->or('naar', $rekeningnr)
|
||||
->order("datum DESC, id DESC");
|
||||
|
||||
$returnArray = array();
|
||||
|
||||
@ -55,7 +56,8 @@ class Transacties {
|
||||
"naar" => $ibanhelper->getIBAN($transactie['naar']),
|
||||
"bedrag" => $transactie['bedrag'],
|
||||
"type" => $transactie['type'],
|
||||
"omschrijving" => $transactie['omschrijving']
|
||||
"omschrijving" => $transactie['omschrijving'],
|
||||
"datum" => $transactie['datum']
|
||||
);
|
||||
}
|
||||
return $this->renderer->render($response, 'transacties.phtml', [
|
||||
|
Reference in New Issue
Block a user