mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-01 06:44:37 -04:00
Fixes for credit table filtering
This commit is contained in:
parent
86fb3af56b
commit
95f0926734
@ -42,8 +42,8 @@ class CreditsTable extends Component
|
|||||||
->where('is_deleted', 0)
|
->where('is_deleted', 0)
|
||||||
->where(function ($query){
|
->where(function ($query){
|
||||||
$query->whereDate('due_date', '>=', now())
|
$query->whereDate('due_date', '>=', now())
|
||||||
->orWhereNull('due_date')
|
->orWhereNull('due_date');
|
||||||
->orWhere('due_date', '=', '');
|
//->orWhere('due_date', '=', '');
|
||||||
})
|
})
|
||||||
->orderBy($this->sort_field, $this->sort_asc ? 'asc' : 'desc')
|
->orderBy($this->sort_field, $this->sort_asc ? 'asc' : 'desc')
|
||||||
->withTrashed()
|
->withTrashed()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user