new operation form almost ready
Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
@@ -67,7 +67,7 @@ class CustomerRepository {
|
||||
.from('customer')
|
||||
.select()
|
||||
.eq('company_id', companyId)
|
||||
.or('nome.ilike.%$query%,telefono.ilike.%$query%')
|
||||
.or('name.ilike.%$query%,phone_number.ilike.%$query%')
|
||||
.limit(10);
|
||||
|
||||
return (response as List).map((c) => CustomerModel.fromMap(c)).toList();
|
||||
|
||||
Reference in New Issue
Block a user