1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 13:12:50 +01:00

Set defaults for client filters'

This commit is contained in:
David Bomba 2022-02-14 08:18:23 +11:00
parent 510971b35f
commit 7d106f997a

View File

@ -80,12 +80,12 @@ class ClientFilters extends QueryFilters
} }
public function id_number(string $id_number):Builder public function id_number(string $id_number = ''):Builder
{ {
return $this->builder->where('id_number', $id_number); return $this->builder->where('id_number', $id_number);
} }
public function number(string $number):Builder public function number(string $number = ''):Builder
{ {
return $this->builder->where('number', $number); return $this->builder->where('number', $number);
} }