Expand view with several new options. Move cache to api endpoints.

This commit is contained in:
James Cole
2024-04-28 13:30:42 +02:00
parent c1c0afa40b
commit 7992b810fd
10 changed files with 226 additions and 82 deletions

View File

@@ -924,7 +924,7 @@ return [
'filters' => [
'allowed' => [
'accounts' => [
'name' => '*',
'name' => 'string',
'active' => 'boolean',
'iban' => 'iban',
'balance' => 'numeric',
@@ -938,7 +938,7 @@ return [
'sorting' => [
'allowed' => [
'transactions' => ['description', 'amount'],
'accounts' => ['name', 'active', 'iban', 'balance', 'last_activity', 'balance_difference'],
'accounts' => ['name', 'active', 'iban', 'balance', 'last_activity', 'balance_difference','current_debt'],
],
],
];