Skip to content

Commit

Permalink
Additional filtering
Browse files Browse the repository at this point in the history
- Additional filtering options.
  • Loading branch information
deanblackborough committed Jun 5, 2020
1 parent 5e09267 commit e5f8969
Show file tree
Hide file tree
Showing 7 changed files with 38 additions and 4 deletions.
6 changes: 6 additions & 0 deletions config/api/item-type-allocated-expense/summary-filterable.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,11 @@
return [
'effective_date' => [
'type' => 'date (yyyy-mm-dd)'
],
'total' => [
'type' => 'decimal string (13,2)'
],
'actualised_total' => [
'type' => 'decimal string (13,2)'
]
];
6 changes: 5 additions & 1 deletion config/api/item-type-simple-expense/filterable.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,8 @@

declare(strict_types=1);

return [];
return [
'total' => [
'type' => 'decimal string (13,2)'
]
];
6 changes: 5 additions & 1 deletion config/api/item-type-simple-expense/summary-filterable.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,8 @@

declare(strict_types=1);

return [];
return [
'total' => [
'type' => 'decimal string (13,2)'
]
];
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,11 @@
return [
'effective_date' => [
'type' => 'date (yyyy-mm-dd)'
],
'total' => [
'type' => 'decimal string (13,2)'
],
'actualised_total' => [
'type' => 'decimal string (13,2)'
]
];
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,11 @@
return [
'effective_date' => [
'type' => 'date (yyyy-mm-dd)'
],
'total' => [
'type' => 'decimal string (13,2)'
],
'actualised_total' => [
'type' => 'decimal string (13,2)'
]
];
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,8 @@

declare(strict_types=1);

return [];
return [
'total' => [
'type' => 'decimal string (13,2)'
]
];
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,8 @@

declare(strict_types=1);

return [];
return [
'total' => [
'type' => 'decimal string (13,2)'
]
];

0 comments on commit e5f8969

Please sign in to comment.