mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-05-24 02:14:21 -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()
|
||||
{
|
||||
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
|
||||
{
|
||||
|
||||
$this
|
||||
->setupOptions()
|
||||
->setupEntity();
|
||||
|
Loading…
x
Reference in New Issue
Block a user