mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-03 09:34:35 -04:00
Request filtering for Client Statements
This commit is contained in:
parent
3e59c71379
commit
cd5efeb913
@ -25,7 +25,11 @@ class ShowStatementRequest extends FormRequest
|
|||||||
public function rules()
|
public function rules()
|
||||||
{
|
{
|
||||||
return [
|
return [
|
||||||
//
|
'start_date' => 'sometimes|nullable|date',
|
||||||
|
'end_date' => 'sometimes|nullable|date',
|
||||||
|
'show_payments_table' => 'sometimes|nullable|boolean',
|
||||||
|
'show_aging_table' => 'sometimes|nullable|boolean',
|
||||||
|
'show_credits_table' => 'sometimes|nullable|boolean',
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -54,6 +54,7 @@ class Statement
|
|||||||
|
|
||||||
public function run() :?string
|
public function run() :?string
|
||||||
{
|
{
|
||||||
|
|
||||||
$this
|
$this
|
||||||
->setupOptions()
|
->setupOptions()
|
||||||
->setupEntity();
|
->setupEntity();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user