mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-05-24 02:14:21 -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(function ($query){
|
||||
$query->whereDate('due_date', '>=', now())
|
||||
->orWhereNull('due_date')
|
||||
->orWhere('due_date', '=', '');
|
||||
->orWhereNull('due_date');
|
||||
//->orWhere('due_date', '=', '');
|
||||
})
|
||||
->orderBy($this->sort_field, $this->sort_asc ? 'asc' : 'desc')
|
||||
->withTrashed()
|
||||
|
Loading…
x
Reference in New Issue
Block a user