Merge pull request #1879 from SevanNerse/fix-filter

invoice or bill date filter is fixed
This commit is contained in:
Cüneyt Şentürk 2021-02-20 10:02:41 +03:00 committed by GitHub
commit dc0af5d18a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions

View File

@ -174,7 +174,10 @@ return [
'document_number' => ['searchable' => true],
'order_number' => ['searchable' => true],
'status',
'issued_at' => ['date' => true],
'issued_at' => [
'key' => '/^(invoiced_at|billed_at)$/',
'date' => true,
],
'due_at' => ['date' => true],
'amount',
'currency_code' => [