@@ -85,13 +85,13 @@ |
||
85 | 85 | ->when(isset($searchData->name), function($q) use ($searchData) |
86 | 86 | { |
87 | 87 | $q->where('name', 'like', '%'.$searchData->name.'%') |
88 | - ->orWhere('cust_id', 'like', '%'.$searchData->name.'%') |
|
89 | - ->orWhere('dba_name', 'like', '%'.$searchData->name.'%'); |
|
88 | + ->orWhere('cust_id', 'like', '%'.$searchData->name.'%') |
|
89 | + ->orWhere('dba_name', 'like', '%'.$searchData->name.'%'); |
|
90 | 90 | }) |
91 | 91 | ->when($includeSystems, function($q) |
92 | 92 | { |
93 | 93 | $q->with('CustomerSystems.SystemTypes') |
94 | - ->with('ParentSystems.SystemTypes'); |
|
94 | + ->with('ParentSystems.SystemTypes'); |
|
95 | 95 | }) |
96 | 96 | ->paginate($pagination->perPage); |
97 | 97 | } |