Add Patch Search Customer
All checks were successful
CI/CD Pipeline / Build and Deploy with Docker Compose (push) Successful in 3m4s
All checks were successful
CI/CD Pipeline / Build and Deploy with Docker Compose (push) Successful in 3m4s
This commit is contained in:
parent
5628b909cd
commit
bd216f9845
@ -51,8 +51,9 @@ namespace Models.Repositories
|
|||||||
|
|
||||||
if (!string.IsNullOrWhiteSpace(document))
|
if (!string.IsNullOrWhiteSpace(document))
|
||||||
{
|
{
|
||||||
query = query.Where(c => c.PhSCustomerDocuments.Any(d => d.DocumentNumber.Contains(document)));
|
query = query.Where(c =>
|
||||||
}
|
c.PhSCustomerDocuments.Any(a =>
|
||||||
|
a.DocumentNumber.ToLower().Contains(document))); }
|
||||||
|
|
||||||
if (!string.IsNullOrWhiteSpace(email))
|
if (!string.IsNullOrWhiteSpace(email))
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user